diff options
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 = |