aboutsummaryrefslogtreecommitdiff
path: root/src/storage.hh
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-06-14 18:29:46 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-06-14 18:29:46 +0000
commit6ef9a668200bbe058d75b4da9ad9a87b5a10513b (patch)
treee94bcdd3c00b72bc17adf865887527b6d87b2eb6 /src/storage.hh
parent4f7cb5b9a1ba8ece2f1d5a6ad6411e107c806b9f (diff)
Make things work when CCTK_REAL is not double and when CCTK_INT is not
int. Rename field "simulation id" to "jobid" when writing to a file. This makes the field name consistent with thorn Announce. Announce field "jobid" with RDF. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@84 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/storage.hh')
-rw-r--r--src/storage.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage.hh b/src/storage.hh
index b78fc1f..1564f60 100644
--- a/src/storage.hh
+++ b/src/storage.hh
@@ -3,6 +3,8 @@
#ifndef FORMALINE_STORAGE_HH
#define FORMALINE_STORAGE_HH
+#include "cctk.h"
+
namespace Formaline
@@ -38,12 +40,12 @@ namespace Formaline
virtual void
store (char const * key,
- int value)
+ CCTK_INT value)
= 0;
virtual void
store (char const * key,
- double value)
+ CCTK_REAL value)
= 0;
virtual void