diff options
author | rhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2013-12-20 06:39:03 +0000 |
---|---|---|
committer | rhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2013-12-20 06:39:03 +0000 |
commit | ba1cc65578236e95d23928ab7a1764355bc39e13 (patch) | |
tree | 467fd8edc2a684d4a67e1b9176bba965fe387eb6 | |
parent | f08f3c3f772dc233e07da7dac508c528857fbd67 (diff) |
re-add check around rk87 evolution of arrays error abort
rk87 does not support evolving arrays of any type at this moment
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@205 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
-rw-r--r-- | src/RK87.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -229,10 +229,14 @@ void MoL_RK87Add(CCTK_ARGUMENTS) } - /* Real arrays */ + /* Arrays */ - CCTK_WARN(0, "Peter has been too lazy to write the RK87 routine " - "out for array variables. Better send him an email..."); + if (MoLNumEvolvedArrayVariables > 0 || + MoLNumEvolvedComplexArrayVariables > 0) + { + CCTK_WARN(0, "Peter has been too lazy to write the RK87 routine " + "out for array variables. Better send him an email..."); + } return; } |