diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-01-30 19:35:53 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-01-30 19:35:53 +0000 |
commit | f5038c95ded21de3cd2db7ebc926eff1743d3de6 (patch) | |
tree | 39da2153863a2a9caa97591f8ad45267e1a351c2 /src/elliptic | |
parent | 4ec18979a82a22785cbf9410b9b59a3cbe66a691 (diff) |
oops, forgot to add this file to cvs
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@942 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/elliptic')
-rw-r--r-- | src/elliptic/ilucg.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/elliptic/ilucg.h b/src/elliptic/ilucg.h new file mode 100644 index 0000000..435a6c1 --- /dev/null +++ b/src/elliptic/ilucg.h @@ -0,0 +1,55 @@ +/* ilucg.h -- C/C++ prototypes for [sd]ilucg() routines */ +/* $Header$ */ + +/* + * prerequisites: + * "cctk.h" + * "config.h" // for "integer" = Fortran integer + */ + +#ifdef __cplusplus +extern "C" + { +#endif + +/* + * ***** ILUCG ***** + */ +integer CCTK_FCALL + CCTK_FNAME(silucg)(const integer* N, + const integer ia[], const integer ja[], const float a[], + const float b[], float x[], + integer itemp[], float rtemp[], + const float* eps, const integer* iter, + integer* istatus); +integer CCTK_FCALL + CCTK_FNAME(dilucg)(const integer* N, + const integer ia[], const integer ja[], const double a[], + const double b[], double x[], + integer itemp[], double rtemp[], + const double* eps, const integer* iter, + integer* istatus); + +/* + * ***** wrappers (for returning logical results) ***** + */ +void CCTK_FCALL + CCTK_FNAME(silucg_wrapper) + (const integer* N, + const integer ia[], const integer ja[], const float a[], + const float b[], float x[], + integer itemp[], float rtemp[], + const float* eps, const integer* iter, + integer* istatus, integer* ierror); +void CCTK_FCALL + CCTK_FNAME(dilucg_wrapper) + (const integer* N, + const integer ia[], const integer ja[], const double a[], + const double b[], double x[], + integer itemp[], double rtemp[], + const double* eps, const integer* iter, + integer* istatus, integer* ierror); + +#ifdef __cplusplus + } /* extern "C" */ +#endif |