[Developers] Problems with 4D grid arrays

Erik Schnetter schnetter at cct.lsu.edu
Wed Mar 19 19:48:09 CST 2008


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.

-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.






--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  application/octet-stream
  text/plain (text body -- kept)
---


More information about the Developers mailing list