[Developers] [Patches] Problems with 4D grid arrays
Erik Schnetter
schnetter at cct.lsu.edu
Sun Apr 6 21:42:35 CDT 2008
On Mar 19, 2008, at 20:48:09, Erik Schnetter wrote:
> Cactus has currently a problem if one uses grid arrays of dimension
> D while grid functions have a dimension less than D. During
> initialisation, Cactus sets cctk_dim to the largest dimension of all
> grid variables in all active thorns. This is arguably wrong;
> cctk_dim should be set to the (maximum) dimension of the grid
> functions.
>
> The enclosed patch adds a new function to the flesh CCTK_MaxGFDim
> which returns the (maximum) dimension of all grid functions. This
> function is used to set cctk_dim.
I applied this patch.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20080406/9c5b488f/attachment.bin
More information about the Developers
mailing list