diff options
author | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2000-09-18 19:48:35 +0000 |
---|---|---|
committer | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2000-09-18 19:48:35 +0000 |
commit | fd7af23c4aceef58118dc80d392ed16ffdd7de08 (patch) | |
tree | 3217345bce1b8aba37facbaaa1308e65375505b0 /src/Output2D.c | |
parent | 65dc866e70b6c37b20a9f504396d04c14cec9a3a (diff) |
Give a more explanatory warning message if output for a given variable
was already done. Increased warning level to 5.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@21 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'src/Output2D.c')
-rw-r--r-- | src/Output2D.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Output2D.c b/src/Output2D.c index 149befb..2bc7f48 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -195,7 +195,13 @@ int IOASCII_TimeFor2D (cGH *GH, int index) /* Check GF not already output this iteration */ if (myGH->out2D_last[index] == GH->cctk_iteration) { - CCTK_WARN(2,"Already done 2D output in IO"); + char *fullname = CCTK_FullName (index); + + + CCTK_VWarn (5, __LINE__, __FILE__, CCTK_THORNSTRING, + "Already done 2D output for variable '%s' in current " + "iteration (probably via triggers)", fullname); + free (fullname); } else { |