aboutsummaryrefslogtreecommitdiff
path: root/src/ICN.c
diff options
context:
space:
mode:
authorhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2003-05-24 14:34:37 +0000
committerhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2003-05-24 14:34:37 +0000
commit627caa6bdf1e4b6db96a799454303d8b2e7935fe (patch)
tree1664fad214476385f5c296f081ee13bb2b8db58b /src/ICN.c
parentf3a2829b5b32b6fad8383ac16c16ac6c2f58b696 (diff)
Comment or ifdef out complex variable support as Carpet doesn't like it.
To use the complex variable stuff right now you need to uncomment the appropriate groups in the interface.ccl and #def MOLDOESCOMPLEX in the appropriate files. It still probably won't work. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@13 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'src/ICN.c')
-rw-r--r--src/ICN.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ICN.c b/src/ICN.c
index 7284d00..b32bf15 100644
--- a/src/ICN.c
+++ b/src/ICN.c
@@ -79,10 +79,16 @@ void MoL_ICNAdd(CCTK_ARGUMENTS)
CCTK_REAL *UpdateVar;
CCTK_REAL *RHSVar;
+ /* FIXME */
+
+#ifdef MOLDOESCOMPLEX
+
CCTK_COMPLEX *OldComplexVar;
CCTK_COMPLEX *UpdateComplexVar;
CCTK_COMPLEX *RHSComplexVar;
CCTK_COMPLEX Complex_Delta_Time = CCTK_Cmplx(CCTK_DELTA_TIME, 0);
+
+#endif
#ifdef MOLDEBUG
printf("Inside ICN.\nProcessor %d.\nStep %d.\nRefinement %d.\nTimestep %g.\nSpacestep %g.\nTime %g\n",
@@ -142,6 +148,10 @@ void MoL_ICNAdd(CCTK_ARGUMENTS)
UpdateVar[index] = OldVar[index] + CCTK_DELTA_TIME * RHSVar[index];
}
}
+
+ /* FIXME */
+
+#ifdef MOLDOESCOMPLEX
for (var = 0; var < MoLNumEvolvedComplexVariables; var++)
{
@@ -159,6 +169,8 @@ void MoL_ICNAdd(CCTK_ARGUMENTS)
RHSComplexVar[index]));
}
}
+
+#endif
return;