aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authordiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2005-02-23 17:16:16 +0000
committerdiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2005-02-23 17:16:16 +0000
commit0615acc9c9fb001ac6413ef09b437cba68f8dca4 (patch)
treec514a95391f6724818e6e7ea1cf37093d59ec62b /schedule.ccl
parent589e5dc62561c6963cdb62da952a48426dce9e42 (diff)
Only schedule the dissipation routine when use_dissipation=yes.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@22 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl9
1 files changed, 6 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 77148a8..a791912 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -14,7 +14,10 @@ SCHEDULE SBP_CheckGridSizes AT postinitial
LANG: Fortran
} "Check grid sizes and ghost zones"
-SCHEDULE SBP_DissipationAdd IN MoL_PostRHS
+if (use_dissipation)
{
- LANG: C
-} "Add SBP compatible dissipation to the right hand sides"
+ SCHEDULE SBP_DissipationAdd IN MoL_PostRHS
+ {
+ LANG: C
+ } "Add SBP compatible dissipation to the right hand sides"
+}