[Carpet] grid array is NULL pointer after DECLARE_CCTK_ARGUMENTS in local mode?

Erik Schnetter schnetter at cct.lsu.edu
Sun Nov 5 17:03:13 CET 2006


On Nov 5, 2006, at 16:45:25, Jonathan Thornburg wrote:

Comparing

> 	cctk_int   AH_ever_found[101] type=scalar "this is to tell if a  
> given AH has ever
> been found"

and

> 	  memset(AH_ever_found, 0, 100*sizeof(CCTK_INT));

the last array element will not be set.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

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: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20061105/ee83da5a/attachment.pgp 


More information about the developers mailing list