diff options
author | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-12-20 17:36:22 +0000 |
---|---|---|
committer | tradke <tradke@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-12-20 17:36:22 +0000 |
commit | 60365223ff9d9746b3e010705e129c68aca9deb7 (patch) | |
tree | 0391ea09cd3a3a419febca84d780387e44470328 | |
parent | cc9894c96d6d809c7ceddd708a5c7325b0fc67e1 (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
-rw-r--r-- | src/IsoSurfacer.c | 9 |
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 */ |