diff options
author | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2003-09-04 09:04:13 +0000 |
---|---|---|
committer | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2003-09-04 09:04:13 +0000 |
commit | 2d958e593d3ad1939e95e483b3902de9ecb45093 (patch) | |
tree | 74680f6954d305d4e9c437170bde3a3b61e229e3 /schedule.ccl | |
parent | 579471ae87529bef4f6b0134918ae3adef92a8e3 (diff) |
Add the ability to NaNcheck the RHS GFs.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@34 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index fe74af9..0b151a2 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -241,6 +241,18 @@ schedule GROUP MoL_CalcRHS IN MoL_Step LANG: C } "Physics thorns schedule the calculation of the discrete spatial operator in here" +##################################################### +### If required, check for any NaNs in the RHSs ### +##################################################### + +if (MoL_NaN_Check) +{ + schedule MoL_NaNCheck IN MoL_Step AFTER MoL_CalcRHS BEFORE MoL_Add + { + LANG: C + } "Check the RHS GFs for NaNs" +} + ###################################################### ### The time integrator performs the update here ### ###################################################### |