aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-12-20 17:36:22 +0000
committertradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-12-20 17:36:22 +0000
commit60365223ff9d9746b3e010705e129c68aca9deb7 (patch)
tree0391ea09cd3a3a419febca84d780387e44470328 /src
parentcc9894c96d6d809c7ceddd708a5c7325b0fc67e1 (diff)
Output the "no isosurface" message with CCTK_WARN() warning level 6.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@32 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src')
-rw-r--r--src/IsoSurfacer.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c
index cca1f60..e84b965 100644
--- a/src/IsoSurfacer.c
+++ b/src/IsoSurfacer.c
@@ -256,8 +256,13 @@ static void computeIso(int index, cGH *GH, isosurfacerGH *myGH)
if(myGH->formats & ISOHDF5)
WriteHDF5(GH, &myGH->totals,myGH,fullname,0, myGH->isovalue);
- } else
- printf(" no isosurface\n");
+ }
+ else
+ {
+ CCTK_VWarn (6, __LINE__, __FILE__, CCTK_THORNSTRING,
+ "No isosurface for '%s' isolevel %f",
+ fullname, myGH->isovalue);
+ }
/* !!!!!!!!!!!!!!!! Why the hell are we doing this? !!!!!!!!!!!! */
if(polybackup || vertbackup){ /* copy back datastructures */