diff options
author | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2006-10-04 14:44:10 +0000 |
---|---|---|
committer | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2006-10-04 14:44:10 +0000 |
commit | d250d34936d3d9f322cce38a653c9da5ea98acef (patch) | |
tree | fc8ef027de476b57a8f32a71a0e7d6a6fec6e83c | |
parent | c9496915aaf10f2e32e02ce57ec8c914c302b5e0 (diff) |
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
-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"); |