diff options
author | rideout <rideout@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2002-11-28 12:25:48 +0000 |
---|---|---|
committer | rideout <rideout@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2002-11-28 12:25:48 +0000 |
commit | 0667b76b23075ead251e1d97d90f9ad5f6c6c026 (patch) | |
tree | f40ee83e7d234cfcf93b7d6ec8c6d84057ea91f2 | |
parent | 63b4fc6a3767604d17c234d3ab470398dcde70c8 (diff) |
Added scheduled routine for 'resetting symmetries' for WaveToy.
Added function prototypes.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@55 eec4d7dc-71c2-46d6-addf-10296150bf52
-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"); +} |