diff options
author | tradke <tradke@83718e91-0e4f-0410-abf4-91180603181f> | 2008-03-06 12:58:01 +0000 |
---|---|---|
committer | tradke <tradke@83718e91-0e4f-0410-abf4-91180603181f> | 2008-03-06 12:58:01 +0000 |
commit | 6fa4c04874c23c55583e99adbc31d9f69ef270ed (patch) | |
tree | 9315ae95b8286f2d77b1be0530ca1d0fa41b1ff6 | |
parent | 637bfbfacafe385c77b3bc808e8b9e42094f1b74 (diff) |
use more descriptive names for published runtime information
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@166 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r-- | src/rdf.cc | 8 | ||||
-rw-r--r-- | src/rdf_publisher.cc | 2 |
2 files changed, 4 insertions, 6 deletions
@@ -351,12 +351,10 @@ namespace Formaline } if (CCTK_IsFunctionAliased ("PublishBoolean")) { -#ifndef PUBLISH_LEVEL_NOTICE -#define PUBLISH_LEVEL_NOTICE 2 -#endif - const int retval = PublishBoolean (cctkGH, PUBLISH_LEVEL_NOTICE, + const int retval = PublishBoolean (cctkGH, get_state() == final ? 1 : 2, get_state() == final ? 1 : 0, - "Finished", "Runtime Info"); + "Simulation finished ?", + CCTK_THORNSTRING " runtime info"); if (retval < 0) { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, "Failed to publish runtime information (error code %d)", diff --git a/src/rdf_publisher.cc b/src/rdf_publisher.cc index edbc26c..77b48db 100644 --- a/src/rdf_publisher.cc +++ b/src/rdf_publisher.cc @@ -244,7 +244,7 @@ static void ParameterSetNotify (void *, } - const char *name = "Set Parameter"; + const char *name = "Steer parameter"; std::string key(thorn); key.append ("::"); key.append (parameter); // // do not log steering events for parameters in the log exclusion list |