diff options
author | allen <allen@fa3da13c-9f13-4301-a575-cf5b8c5e1907> | 2002-05-02 21:55:18 +0000 |
---|---|---|
committer | allen <allen@fa3da13c-9f13-4301-a575-cf5b8c5e1907> | 2002-05-02 21:55:18 +0000 |
commit | 03e793ed612baf1d5ddb15fe83db444947d3cbd0 (patch) | |
tree | 5b8437837a4ab6d397aca7b934d9dc5207da9cc4 /src/ConfMetric.c | |
parent | 1ee9574ba9795b340a64925c6f24d633ad574e48 (diff) |
Added interface to SOR for LinMetric
git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllSOR/trunk@78 fa3da13c-9f13-4301-a575-cf5b8c5e1907
Diffstat (limited to 'src/ConfMetric.c')
-rw-r--r-- | src/ConfMetric.c | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/src/ConfMetric.c b/src/ConfMetric.c index 1b714a7..360fb28 100644 --- a/src/ConfMetric.c +++ b/src/ConfMetric.c @@ -27,12 +27,37 @@ CCTK_FILEVERSION(CactusElliptic_EllSOR_ConfMetric_c) #define SQR(a) ((a)*(a)) -static int firstcall = 1; +/******************************************************************** + ********************* Local Data Types *********************** + ********************************************************************/ + +/******************************************************************** + ********************* Local Routine Prototypes ********************* + ********************************************************************/ int SORConfMetric3D(cGH *GH, int *MetricPsiI, int conformal, int FieldIndex, int MIndex, int NIndex, CCTK_REAL *AbsTol, CCTK_REAL *RelTol); +/******************************************************************** + ***************** Scheduled Routine Prototypes ********************* + ********************************************************************/ + +/******************************************************************** + ********************* Other Routine Prototypes ********************* + ********************************************************************/ + +/******************************************************************** + ********************* Local Data ***************************** + ********************************************************************/ + +static int firstcall = 1; + +/******************************************************************** + ********************* External Routines ********************** + ********************************************************************/ + + /*@@ @routine SORConfMetric3D @date Tue Sep 26 11:28:08 2000 @@ -50,8 +75,8 @@ int SORConfMetric3D(cGH *GH, int *MetricPsiI, int conformal, @@*/ int SORConfMetric3D(cGH *GH, int *MetricPsiI, int conformal, - int FieldIndex, int MIndex, int NIndex, - CCTK_REAL *AbsTol, CCTK_REAL *RelTol) + int FieldIndex, int MIndex, int NIndex, + CCTK_REAL *AbsTol, CCTK_REAL *RelTol) { DECLARE_CCTK_PARAMETERS |