[Developers] multiple vartypes in RotatingSymmetry
schnetter at cct.lsu.edu
Fri Oct 23 10:43:09 CDT 2009
On Oct 23, 2009, at 9:03 , Roland Haas wrote:
> Hello all,
> attached please find a patch for RotatingSymmetry180, so that it
> supports Variables of more than one type (CCTK_REAL and CCTK_INT in my
> case). Currently RotatingSymmetry180 has problems with these since it
> tries to obtain all variables in one call to Slab. However Slab checks
> if all variables are of the same type and throws an error if they
> are not.
> Alternatively the attached code (slightly modified) could also be
> after the block "/* Get and check group info */" and around
> Slab_MultiTransfer. However that would require to make at least "vis"
> non-const and I was not sure just how much BndRot180VI depends on
> its arguments const.
(I didn't see the patch.)
Could the patch be applied to TAT/Slab instead? Then it would work
for both RotSym90 and RotSym180 at the same time.
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
More information about the Developers