aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-03-28 01:46:26 +0000
committerrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-03-28 01:46:26 +0000
commit435d20790aa1f4c0a2b0f27c50f43649bdd58f78 (patch)
tree547331d957c5e95a9e7d144416ffb54502e9928e /schedule.ccl
parenta3c3a120e4686c1da48ccc9a3a9556232d104c67 (diff)
GRHydro: implemented H viscosity for HLLE solver to eliminate the carbuncle instability. Tested with shocktube and TOV. Not yet tested for problem where carbuncles occur.
From: Christian Reisswig <reisswig@scriwalker.(none)> git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@491 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl18
1 files changed, 17 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 8227855..7ca61d3 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -264,6 +264,16 @@ if(CCTK_IsImplementationActive("Coordinates")) {
STORAGE: conformal_state
+
+###############################################
+### Storage for the H viscosity temporaries ###
+###############################################
+
+if (apply_H_viscosity)
+{
+ STORAGE: H_viscosity_temps
+}
+
###############################
### Register startup banner ###
###############################
@@ -1547,5 +1557,11 @@ if (constrain_to_1D) {
}
-
+if (apply_H_viscosity) {
+ SCHEDULE H_viscosity in GRHydroRHS BEFORE FluxTerms
+ {
+ LANG: FORTRAN
+ OPTION: LOCAL
+ } "Compute local temporaries for H viscosity"
+}