From d250d34936d3d9f322cce38a653c9da5ea98acef Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 4 Oct 2006 14:44:10 +0000 Subject: Make only optional use of aliased function Coord_GroupSystem(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@92 bfcf8e34-485d-4d46-a995-1fd6fa6fb178 --- src/IsoSurfacer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3