aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2013-12-20 06:39:03 +0000
committerrhaas <rhaas@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2013-12-20 06:39:03 +0000
commitba1cc65578236e95d23928ab7a1764355bc39e13 (patch)
tree467fd8edc2a684d4a67e1b9176bba965fe387eb6
parentf08f3c3f772dc233e07da7dac508c528857fbd67 (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.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/RK87.c b/src/RK87.c
index 68c7ff2..21b00ce 100644
--- a/src/RK87.c
+++ b/src/RK87.c
@@ -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;
}