aboutsummaryrefslogtreecommitdiff
path: root/Examples/WaveHost/src/Startup.cc
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-03-15 17:23:09 +0100
committerIan Hinder <ian.hinder@aei.mpg.de>2012-03-15 17:23:09 +0100
commitfa52744053f212b79087a40dac8c9df8d6d40158 (patch)
tree8440718606729dfcdfb9fe2030f058c2b95d96d5 /Examples/WaveHost/src/Startup.cc
parent7840f15af87fc2b070da6f49fd2ee5c0f247e78f (diff)
Replace SimpleWaveCaKernel with WaveCaKernel
This script now generates WaveCaKernel and WaveHost which do the same thing, one using CaKernel and one using the host. This allows easy cross-comparison between the two methods.
Diffstat (limited to 'Examples/WaveHost/src/Startup.cc')
-rw-r--r--Examples/WaveHost/src/Startup.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/WaveHost/src/Startup.cc b/Examples/WaveHost/src/Startup.cc
new file mode 100644
index 0000000..a779f90
--- /dev/null
+++ b/Examples/WaveHost/src/Startup.cc
@@ -0,0 +1,10 @@
+/* File produced by Kranc */
+
+#include "cctk.h"
+
+extern "C" int WaveHost_Startup(void)
+{
+ const char * banner = "WaveHost";
+ CCTK_RegisterBanner(banner);
+ return 0;
+}