[Developers] [Patches] check available timelevels for static boundary condition

Erik Schnetter schnetter at cct.lsu.edu
Mon Sep 28 11:18:51 CDT 2009

On Sep 28, 2009, at 9:11 , Frank Loeffler wrote:

> Hi,
> this patch checks the available timelevels for a variable before it
> attempts a memcpy.
> In the case of failure, this changes a segfault to an informative
> message, which makes debugging this case much easier.
> In case of success, it adds a test every time the static boundary
> condition is called, for each variable. I am not sure about the  
> overhead
> this creates (a call to CCTK_ActiveTimeLevelsVI).

The overhead should be negligible.

I would output the full variable name (including the group name) in  
the error message.

Yes, please apply.


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 <http://pgp.mit.edu>.

More information about the Developers mailing list