aboutsummaryrefslogtreecommitdiff
path: root/src/Output2D.c
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-12-13 18:29:26 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-12-13 18:29:26 +0000
commitb488e2d50488bbaef4b228f7bf68b88dc0555cea (patch)
tree1ec944b655e94fd54d7e558c21cb7d072ced4c36 /src/Output2D.c
parentfd9ed4dae76c8e7c07d8b1d2e3a841782eb28213 (diff)
Moved the test, if storage was assigned to a variable to be output,
from the TimeToOutput() routines into the lower level WriteOutput() routines. Fixing by that * the behaviour of triggers, where TimeToOutput() is called BEFORE storage is possibly assigned (BR 170) * a potential bug when calling OutputVarAs() where no such test was done before git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@70 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output2D.c')
-rw-r--r--src/Output2D.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Output2D.c b/src/Output2D.c
index 7b4d14b..050ee86 100644
--- a/src/Output2D.c
+++ b/src/Output2D.c
@@ -152,10 +152,7 @@ int IOFlexIO_Output2DVarAs (cGH *GH, const char *fullname, const char *alias)
method
@enddesc
@calls CCTK_GHExtensionHandle
- CCTK_GroupTypeFromVar
CCTK_WARN
- CCTK_QueryGroupStorageI
- CCTK_GroupNameFromVarI
@calledby IOFlexIO_Output2DGH
@history
@@ -193,19 +190,6 @@ int IOFlexIO_TimeFor2D (cGH *GH, int index)
return (0);
}
- /* Check GF has storage */
- if (! CCTK_QueryGroupStorageI (GH,
- CCTK_GroupIndexFromVarI(index))) {
- char *fullname = CCTK_FullName (index);
- char *msg = (char *) malloc (80 + strlen (fullname));
-
- sprintf (msg, "No IOFlexIO 2D output for '%s' (no storage)", fullname);
- CCTK_WARN (2, msg);
- free (fullname);
- free (msg);
- return (0);
- }
-
return (1);
}