aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-01-14 14:23:52 +0000
committerrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-01-14 14:23:52 +0000
commitdc0703d41a96d3c031fc6acf9f353ae3ebf1596d (patch)
tree42a544e6f4b46e0afcadafb79f1321a3948281dd /schedule.ccl
parent8d8e215350afead50931e674750be6dc8f33acc1 (diff)
GRHydro: Implemented WENO5. Tested with a shock tube.
From: Christian Reisswig <reisswig@scriwalker.(none)> git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@465 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl24
1 files changed, 21 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index fa71107..fb017da 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -427,9 +427,9 @@ if(CCTK_Equals(Bvec_evolution_method,"GRHydro"))
{
} "Evaluate ADM constraints, and perform symmetry boundary conditions"
-######################################################################
-### Setup and remove the coefficient arrays for ENO reconstruction ###
-######################################################################
+###########################################################################
+### Setup and remove the coefficient arrays for ENO/WENO reconstruction ###
+###########################################################################
if (CCTK_Equals(recon_method,"eno"))
{
@@ -448,6 +448,24 @@ if (CCTK_Equals(recon_method,"eno"))
}
+if (CCTK_Equals(recon_method,"weno"))
+{
+
+ schedule GRHydro_WENOSetup AT CCTK_Basegrid
+ {
+ OPTIONS: global
+ LANG:Fortran
+ } "Coefficients for WENO reconstruction"
+
+ schedule GRHydro_WENOShutdown AT CCTK_Terminate BEFORE Driver_Terminate
+ {
+ OPTIONS: global
+ LANG:Fortran
+ } "Deallocate WENO coefficients"
+
+}
+
+
######################################################################
### This routine is a bit strangely situated, as it's really to do ###
### with initial data. There may be a better place for it later. ###