/*@@ @file SetSym.F @date March 2000 @author Miguel Alcubierre @desc Sets the symmetries for the AHF grid functions. @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" /*@@ @routine AHFinder_SetSym @date March 2000 @author Miguel Alcubierre @desc Sets the symmetries for the AHF grid functions. @enddesc @calls @calledby @history @endhistory @@*/ subroutine AHFinder_SetSym(CCTK_ARGUMENTS) implicit none DECLARE_CCTK_ARGUMENTS DECLARE_CCTK_PARAMETERS integer sym(3) CCTK_INT CCTK_Equals integer, PARAMETER :: one = 1 INTEGER :: ierr c +,+,+ sym(1)=+1 sym(2)=+1 sym(3)=+1 call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgrid') call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahf_exp') call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgradn') call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgauss') call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahmask') c -,+,+ sym(1)=-1 sym(2)=+1 sym(3)=+1 call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgradx') c +,-,+ sym(1)=+1 sym(2)=-1 sym(3)=+1 call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgrady') c +,+,- sym(1)=+1 sym(2)=+1 sym(3)=-1 call SetCartSymVN(ierr,cctkGH,sym,'ahfinder::ahfgradz') c End. end subroutine AHFinder_SetSym