diff options
Diffstat (limited to 'src/rotatingsymmetry90.c')
-rw-r--r-- | src/rotatingsymmetry90.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index 42776d8..397797f 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -1,5 +1,3 @@ -/* $Header$ */ - #include <assert.h> #include <math.h> #include <stdlib.h> @@ -14,6 +12,8 @@ #include "Slab.h" +#include "rotatingsymmetry90.h" + /* This is pretty hard coded into all the tensor types and cannot be @@ -541,6 +541,14 @@ int BndRot90VI (cGH const * restrict const cctkGH, assert (0); } + if (CCTK_IsFunctionAliased("GetLocalComponents")) { + int const num_local_components = GetLocalComponents(cctkGH); + if (num_local_components > 1) { + CCTK_WARN (CCTK_WARN_ABORT, + "TAT/Slab can only be used if there is a single local component per MPI process"); + } + } + options = Util_TableCreateFromString ("useghosts=1"); assert (options>=0); |