diff options
-rw-r--r-- | src/IsoSurfacer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c index f9f9671..40e4ce5 100644 --- a/src/IsoSurfacer.c +++ b/src/IsoSurfacer.c @@ -198,7 +198,11 @@ static void computeIso(int vindex, const cGH *GH, isosurfacerGH *myGH) /* get the data pointer to the current timelevel of GF X */ groupname = CCTK_GroupNameFromVarI (vindex); - coord_system_handle = Coord_GroupSystem (GH, groupname); + coord_system_handle = -1; + if (CCTK_IsFunctionAliased ("Coord_GroupSystem")) + { + coord_system_handle = Coord_GroupSystem (GH, groupname); + } free (groupname); Util_TableGetIntArray (coord_system_handle, 3, coord_handles, "COORDINATES"); |