[Flesh-cvs] DEVELOPMENT CVS "Cactus/src/include cctk_Groups.h"
Erik Schnetter (schnetter)
schnetter at cct.lsu.edu
Sun Apr 6 21:40:47 CDT 2008
Update of /cactusdevcvs/Cactus/src/include
In directory asylum.cct.lsu.edu:/tmp/cvs-serv13851/include
Modified Files:
cctk_Groups.h
Log Message:
Add a new function CCTK_MaxGFDim to the flesh which returns the
(maximum) dimension of all grid functions.
Cactus can currently not handle the case where 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.
This patch adds a new function CCTK_MaxGFDim to the flesh which
returns the (maximum) dimension of all grid functions. This function
is used to set cctk_dim.
More information about the Flesh-cvs
mailing list