aboutsummaryrefslogtreecommitdiff
path: root/src/thornlist.cc
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-05-14 03:36:40 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2006-05-14 03:36:40 +0000
commit9263c5dab827c6ea9869ee57deb77220cbab7521 (patch)
tree1fe4b742462e124ba0a3788301a16180cfaaa2e5 /src/thornlist.cc
parent479459caed50c5b4e810fb89467fc67ec7d8eff9 (diff)
Start Formaline in WRAGH instead of STARTUP; this is less trouble.
Remove the logic that delayed outputting the tarballs. Add code to collect the host names of all nodes of a run. This code is not active yet. Find out in which arrangements the compiled thorns are. Call the perl script gethostname.pl only after it has been copied to the scratch directory. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@79 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/thornlist.cc')
-rw-r--r--src/thornlist.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/thornlist.cc b/src/thornlist.cc
new file mode 100644
index 0000000..7ed287b
--- /dev/null
+++ b/src/thornlist.cc
@@ -0,0 +1,31 @@
+// $Header$
+
+#include "thornlist.hh"
+
+namespace Formaline
+{
+
+ namespace ThornList
+ {
+
+ // This header file is automatically generated by the flesh.
+ // It defines
+ // static char const * const thorn_name[];
+ // static int const nthorns;
+#include "thornlist.h"
+
+ char const * const *
+ ThornNames ()
+ {
+ return thorn_name;
+ }
+
+ int
+ NumThorns ()
+ {
+ return nthorns;
+ }
+
+ } // namespace ThornList
+
+} // namespace Formaline