aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@f75ba9e5-694f-0410-ac2c-87ea7ce7132b>2005-05-25 10:41:49 +0000
committerschnetter <schnetter@f75ba9e5-694f-0410-ac2c-87ea7ce7132b>2005-05-25 10:41:49 +0000
commit17833bb5cf7e3949500a5742ddb969fde25efbb1 (patch)
treefcbff2ed8c650ee968b4181bab5513fedbbfcce4
parent13d20da1461f4fbc63e13039b08d8a34884fdef0 (diff)
Do not reset the excision mask when fixed_excision is set to "none",
as some other thorn may want to set the excision mask. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/LegoExcision/trunk@49 f75ba9e5-694f-0410-ac2c-87ea7ce7132b
-rw-r--r--src/fixedsphere.F904
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fixedsphere.F90 b/src/fixedsphere.F90
index 7a5c878..d2f4219 100644
--- a/src/fixedsphere.F90
+++ b/src/fixedsphere.F90
@@ -21,7 +21,9 @@ subroutine Lego_FixedSphere(CCTK_ARGUMENTS)
if (CCTK_IsThornActive(CCTK_THORNSTRING) == 0) then
call CCTK_WARN (0, "The routine Lego_FixedSphere was called, but thorn " // CCTK_THORNSTRING // " is not active")
end if
-
+
+ if (CCTK_EQUALS(fixed_excision,"none")) return
+
! Default: no excision
emask = 1