summaryrefslogtreecommitdiff
path: root/Yacs++/src/THM.hxx
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Yacs++/src/THM.hxx
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Yacs++/src/THM.hxx')
-rwxr-xr-xYacs++/src/THM.hxx33
1 files changed, 33 insertions, 0 deletions
diff --git a/Yacs++/src/THM.hxx b/Yacs++/src/THM.hxx
new file mode 100755
index 0000000..a2d7752
--- /dev/null
+++ b/Yacs++/src/THM.hxx
@@ -0,0 +1,33 @@
+/**
+ * This class is a C++ wrapper for a while loop calling a
+ * Cle-2000 procedure named THMComponent.c2m at each iteration.
+ * <P>
+ *
+ * @author Alain Hebert, Ecole Polytechnique de Montreal (2013)
+ */
+#ifndef __THM_HXX__
+#define __THM_HXX__
+
+#include "Cle2000.hxx"
+#include "Communication.hxx"
+
+class THM {
+public:
+ /** use this constructor to create a new THM object
+ */
+ THM();
+
+ /** use this method to assign a Calcium component to the THM object
+ * @param component Calcium component reference
+ */
+ void initialize(void* component);
+
+ /** use this method to execute the THM object
+ */
+ void run();
+
+private:
+ Communication communicator_;
+}; // class THM
+
+#endif