aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/src/extending.hh
diff options
context:
space:
mode:
Diffstat (limited to 'CarpetDev/CarpetIOF5/src/extending.hh')
-rw-r--r--CarpetDev/CarpetIOF5/src/extending.hh50
1 files changed, 50 insertions, 0 deletions
diff --git a/CarpetDev/CarpetIOF5/src/extending.hh b/CarpetDev/CarpetIOF5/src/extending.hh
new file mode 100644
index 000000000..5d25aaabd
--- /dev/null
+++ b/CarpetDev/CarpetIOF5/src/extending.hh
@@ -0,0 +1,50 @@
+#ifndef EXTENDING_HH
+#define EXTENDING_HH
+
+#include <set>
+
+#include "cctk.h"
+
+
+
+namespace CarpetIOF5 {
+
+ using std::set;
+
+
+
+ class extending {
+
+ static char const * const extension_name;
+
+ struct extension_t {
+ set<char const *> did_truncate;
+ };
+
+ extension_t * m_extension;
+
+ public:
+
+ static void
+ create (cGH * cctkGH);
+
+ private:
+
+ static void *
+ setup (tFleshConfig * config,
+ int convlevel,
+ cGH * cctkGH);
+
+ public:
+
+ extending (cGH const * cctkGH);
+
+ set<char const *>
+ get_did_truncate ()
+ const;
+
+ };
+
+} // namespace CarpetIOF5
+
+#endif // #ifndef EXDENDING_HH