aboutsummaryrefslogtreecommitdiff
path: root/src/petsc_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/petsc_wrapper.c')
-rw-r--r--src/petsc_wrapper.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/petsc_wrapper.c b/src/petsc_wrapper.c
index 74d3512..8d4fbcf 100644
--- a/src/petsc_wrapper.c
+++ b/src/petsc_wrapper.c
@@ -7,6 +7,10 @@ static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusElliptic_EllPETSc_petsc_wrapper_c)
+void petsc_confmetric(cGH *GH, int *MetricPsiI, int FieldIndex,
+ int MIndex, int NIndex,
+ CCTK_REAL *AbsTol, CCTK_REAL *RelTol);
+
/* The wrapper functions for the core PETSc solver, that performs the
actual solve. One wrapper function for each class, because these
functions are registered with a fixed set up arguments. Still, they
@@ -19,7 +23,7 @@ void petsc_metric(cGH *GH, int *MetricI, int FieldIndex,
/* Arrays for the M/N size info */
- void petsc_confmetric_solver(cGH *GH, int *MetricI, int MetricISize,
+ int petsc_confmetric_solver(cGH *GH, int *MetricI, int MetricISize,
int FieldIndex, int MIndex, int NIndex,
CCTK_REAL *AbsTol, CCTK_REAL *RelTol);
@@ -40,9 +44,8 @@ void petsc_confmetric(cGH *GH, int *MetricPsiI, int FieldIndex,
int MIndex, int NIndex,
CCTK_REAL *AbsTol, CCTK_REAL *RelTol) {
- void petsc_confmetric_solver(cGH *GH, int *MetricI, int MetricSize,
- int FieldIndex, int MIndex, int NIndex,
- CCTK_REAL *AbsTol, CCTK_REAL *RelTol);
+ int petsc_confmetric_solver(cGH *, int *, int, int, int, int,
+ CCTK_REAL *, CCTK_REAL *);
/* petsc_confmetric_solver expects an metric array, in the case of this
equation class, needs conf.factor as last entry -> size 7 */