aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/RegridSyncTest/src/output.c
diff options
context:
space:
mode:
authorcott <schnetter@cct.lsu.edu>2007-05-15 01:25:00 +0000
committercott <schnetter@cct.lsu.edu>2007-05-15 01:25:00 +0000
commit5e635f603f674854bd6439de28da634ec003dbba (patch)
tree61b89b51b2b93fbd1ca497739a7c032743af5b67 /CarpetExtra/RegridSyncTest/src/output.c
parente60274fbe10387a17dcd3dd68ec89b8499bf8f82 (diff)
RegridSyncTest: Forced output in PostRegrid
Added output of test GF via CCTK_OutputVarAsByMethod in POSTREGRID. darcs-hash:20070515012529-fff0f-3683c4b5c180e2520906aee8aafdbdc10d779ca9.gz
Diffstat (limited to 'CarpetExtra/RegridSyncTest/src/output.c')
-rw-r--r--CarpetExtra/RegridSyncTest/src/output.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/CarpetExtra/RegridSyncTest/src/output.c b/CarpetExtra/RegridSyncTest/src/output.c
new file mode 100644
index 000000000..e0f710e8a
--- /dev/null
+++ b/CarpetExtra/RegridSyncTest/src/output.c
@@ -0,0 +1,19 @@
+#include <cctk.h>
+#include <cctk_Parameters.h>
+#include <cctk_Arguments.h>
+
+
+void regridsynctest_output(CCTK_ARGUMENTS)
+{
+
+ DECLARE_CCTK_PARAMETERS;
+ DECLARE_CCTK_ARGUMENTS;
+
+ CCTK_OutputVarAsByMethod(cctkGH,"regridsynctest::myregridtestgf","IOASCII_1D","myregridtestgf_postregrid");
+ // CCTK_OutputVarAsByMethod(cctkGH,"whisky::rho","IOASCII_1D","rho_postregrid");
+ // CCTK_OutputVarAsByMethod{cctkGH,"whisky::rho","IOASCII_3D","rho_postregrid")
+
+
+
+ return;
+}