diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/SetSym.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/SetSym.c b/src/SetSym.c index 31d39d3..9c5b8c5 100644 --- a/src/SetSym.c +++ b/src/SetSym.c @@ -21,7 +21,14 @@ static const char *rcsid = "$Id$"; -CCTK_FILEVERSION(BetaThorns_Cartoon2D_SetSym_c) +CCTK_FILEVERSION(BetaThorns_Cartoon2D_SetSym_c); + +/* function prototypes */ +int ResetSym(cGH* GH, const char* vn); +void Cartoon_SetSym_Einstein(CCTK_ARGUMENTS); +void Cartoon_SetSym_BSSN(CCTK_ARGUMENTS); +void Cartoon_SetSym_WaveToy(CCTK_ARGUMENTS); + /*@@ @routine Cartoon_ResetSym @@ -232,3 +239,22 @@ Cartoon_SetSym_BSSN(CCTK_ARGUMENTS) free(evolution_method); } } + + + /*@@ + @routine Cartoon_SetSym_WaveToy + @date Oct 2002 + @author David Rideout + @desc + Resets the symmetries for the WaveToy grid function so + that boundary conditions are not applied to the cartoon + faces. + @enddesc + @@*/ + +void Cartoon_SetSym_WaveToy(CCTK_ARGUMENTS) { + DECLARE_CCTK_ARGUMENTS; + + CCTK_INFO("Resetting cartoon boundary symmetry for WaveToy variable"); + ResetSym(cctkGH, "wavetoy::phi"); +} |