diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-11-04 10:57:26 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:25:36 +0000 |
commit | 95ce90a0da71248228a5c27584b7910f9bc47a65 (patch) | |
tree | 840c7352d74afcb01227b83f0e12677558140173 /CarpetExtra/CarpetProlongateTest/src | |
parent | 497d407e781b73eea64b41d6afa155b2b3daa2a7 (diff) |
CarpetProlongateTest: New thorn to test prolongation operators
Diffstat (limited to 'CarpetExtra/CarpetProlongateTest/src')
-rw-r--r-- | CarpetExtra/CarpetProlongateTest/src/init.F90 | 19 | ||||
-rw-r--r-- | CarpetExtra/CarpetProlongateTest/src/make.code.defn | 7 |
2 files changed, 26 insertions, 0 deletions
diff --git a/CarpetExtra/CarpetProlongateTest/src/init.F90 b/CarpetExtra/CarpetProlongateTest/src/init.F90 new file mode 100644 index 000000000..f57353572 --- /dev/null +++ b/CarpetExtra/CarpetProlongateTest/src/init.F90 @@ -0,0 +1,19 @@ +#include "cctk.h" +#include "cctk_Arguments.h" +#include "cctk_Parameters.h" + +subroutine CarpetProlongateTest_Init (CCTK_ARGUMENTS) + implicit none + DECLARE_CCTK_ARGUMENTS + DECLARE_CCTK_PARAMETERS + + u = x**power_x + y**power_y + z**power_z +end subroutine CarpetProlongateTest_Init + +subroutine CarpetProlongateTest_Diff (CCTK_ARGUMENTS) + implicit none + DECLARE_CCTK_ARGUMENTS + DECLARE_CCTK_PARAMETERS + + du = u - (x**power_x + y**power_y + z**power_z) +end subroutine CarpetProlongateTest_Diff diff --git a/CarpetExtra/CarpetProlongateTest/src/make.code.defn b/CarpetExtra/CarpetProlongateTest/src/make.code.defn new file mode 100644 index 000000000..029039c78 --- /dev/null +++ b/CarpetExtra/CarpetProlongateTest/src/make.code.defn @@ -0,0 +1,7 @@ +# Main make.code.defn file for thorn CarpetProlongateTest + +# Source files in this directory +SRCS = init.F90 + +# Subdirectories containing source files +SUBDIRS = |