aboutsummaryrefslogtreecommitdiff
path: root/src/DumpVar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r--src/DumpVar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c
index 11e69dc..65f13be 100644
--- a/src/DumpVar.c
+++ b/src/DumpVar.c
@@ -570,7 +570,11 @@ static void AddCommonAttributes (const cGH *GH, const ioRequest *request,
name = CCTK_GroupNameFromVarI (request->vindex);
FLEXIO_ERROR (IOwriteAttribute (file, "groupname", CHAR,
strlen (name) + 1, name));
- coord_system_handle = Coord_GroupSystem (GH, name);
+ coord_system_handle = -1;
+ if (CCTK_IsFunctionAliased ("Coord_GroupSystem"))
+ {
+ coord_system_handle = Coord_GroupSystem (GH, name);
+ }
free (name);
itmp[0] = CCTK_GroupTypeFromVarI (request->vindex);