diff options
author | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2003-05-24 14:34:37 +0000 |
---|---|---|
committer | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2003-05-24 14:34:37 +0000 |
commit | 627caa6bdf1e4b6db96a799454303d8b2e7935fe (patch) | |
tree | 1664fad214476385f5c296f081ee13bb2b8db58b /src/SandR.c | |
parent | f3a2829b5b32b6fad8383ac16c16ac6c2f58b696 (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/SandR.c')
-rw-r--r-- | src/SandR.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/SandR.c b/src/SandR.c index 586b31f..969bc8c 100644 --- a/src/SandR.c +++ b/src/SandR.c @@ -78,7 +78,14 @@ void MoL_RestoreSandR(CCTK_ARGUMENTS) CCTK_INT totalsize; CCTK_INT vectorstart; CCTK_REAL *SandRDataArray; + + /* FIXME */ + +#ifdef MOLDOESCOMPLEX + CCTK_COMPLEX *SandRComplexDataArray; + +#endif totalsize = cctk_lsh[0] * cctk_lsh[1] * cctk_lsh[2]; @@ -100,6 +107,10 @@ void MoL_RestoreSandR(CCTK_ARGUMENTS) totalsize * sizeof(CCTK_REAL)); } + /* FIXME */ + +#ifdef MOLDOESCOMPLEX + for (var = 0; var < MoLNumSandRComplexVariables; var++) { @@ -111,6 +122,8 @@ void MoL_RestoreSandR(CCTK_ARGUMENTS) memcpy(SandRComplexDataArray, &ComplexSandRScratchSpace[vectorstart], totalsize * sizeof(CCTK_COMPLEX)); } + +#endif return; |