aboutsummaryrefslogtreecommitdiff
path: root/ML_BSSN/src/Boundaries.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_BSSN/src/Boundaries.cc')
-rw-r--r--ML_BSSN/src/Boundaries.cc104
1 files changed, 0 insertions, 104 deletions
diff --git a/ML_BSSN/src/Boundaries.cc b/ML_BSSN/src/Boundaries.cc
index 345827a..18dd747 100644
--- a/ML_BSSN/src/Boundaries.cc
+++ b/ML_BSSN/src/Boundaries.cc
@@ -98,17 +98,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
CCTK_WARN(0, "Failed to register ML_lapse_bound BC for ML_BSSN::ML_lapse!");
}
- if (CCTK_EQUALS(ML_dtlapse_bound, "none" ) ||
- CCTK_EQUALS(ML_dtlapse_bound, "static") ||
- CCTK_EQUALS(ML_dtlapse_bound, "flat" ) ||
- CCTK_EQUALS(ML_dtlapse_bound, "zero" ) )
- {
- ierr = Boundary_SelectGroupForBC(cctkGH, CCTK_ALL_FACES, 1, -1,
- "ML_BSSN::ML_dtlapse", ML_dtlapse_bound);
- if (ierr < 0)
- CCTK_WARN(0, "Failed to register ML_dtlapse_bound BC for ML_BSSN::ML_dtlapse!");
- }
-
if (CCTK_EQUALS(ML_shift_bound, "none" ) ||
CCTK_EQUALS(ML_shift_bound, "static") ||
CCTK_EQUALS(ML_shift_bound, "flat" ) ||
@@ -329,17 +318,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
CCTK_WARN(0, "Failed to register alpha_bound BC for ML_BSSN::alpha!");
}
- if (CCTK_EQUALS(A_bound, "none" ) ||
- CCTK_EQUALS(A_bound, "static") ||
- CCTK_EQUALS(A_bound, "flat" ) ||
- CCTK_EQUALS(A_bound, "zero" ) )
- {
- ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, -1,
- "ML_BSSN::A", A_bound);
- if (ierr < 0)
- CCTK_WARN(0, "Failed to register A_bound BC for ML_BSSN::A!");
- }
-
if (CCTK_EQUALS(beta1_bound, "none" ) ||
CCTK_EQUALS(beta1_bound, "static") ||
CCTK_EQUALS(beta1_bound, "flat" ) ||
@@ -520,25 +498,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
}
- if (CCTK_EQUALS(ML_dtlapse_bound, "radiative"))
- {
- /* select radiation boundary condition */
- static CCTK_INT handle_ML_dtlapse_bound CCTK_ATTRIBUTE_UNUSED = -1;
- if (handle_ML_dtlapse_bound < 0) handle_ML_dtlapse_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
- if (handle_ML_dtlapse_bound < 0) CCTK_WARN(0, "could not create table!");
- if (Util_TableSetReal(handle_ML_dtlapse_bound , ML_dtlapse_bound_limit, "LIMIT") < 0)
- CCTK_WARN(0, "could not set LIMIT value in table!");
- if (Util_TableSetReal(handle_ML_dtlapse_bound ,ML_dtlapse_bound_speed, "SPEED") < 0)
- CCTK_WARN(0, "could not set SPEED value in table!");
-
- ierr = Boundary_SelectGroupForBC(cctkGH, CCTK_ALL_FACES, 1, handle_ML_dtlapse_bound,
- "ML_BSSN::ML_dtlapse", "Radiation");
-
- if (ierr < 0)
- CCTK_WARN(0, "Failed to register Radiation BC for ML_BSSN::ML_dtlapse!");
-
- }
-
if (CCTK_EQUALS(ML_shift_bound, "radiative"))
{
/* select radiation boundary condition */
@@ -919,25 +878,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
}
- if (CCTK_EQUALS(A_bound, "radiative"))
- {
- /* select radiation boundary condition */
- static CCTK_INT handle_A_bound CCTK_ATTRIBUTE_UNUSED = -1;
- if (handle_A_bound < 0) handle_A_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
- if (handle_A_bound < 0) CCTK_WARN(0, "could not create table!");
- if (Util_TableSetReal(handle_A_bound , A_bound_limit, "LIMIT") < 0)
- CCTK_WARN(0, "could not set LIMIT value in table!");
- if (Util_TableSetReal(handle_A_bound ,A_bound_speed, "SPEED") < 0)
- CCTK_WARN(0, "could not set SPEED value in table!");
-
- ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, handle_A_bound,
- "ML_BSSN::A", "Radiation");
-
- if (ierr < 0)
- CCTK_WARN(0, "Failed to register Radiation BC for ML_BSSN::A!");
-
- }
-
if (CCTK_EQUALS(beta1_bound, "radiative"))
{
/* select radiation boundary condition */
@@ -1154,23 +1094,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
}
- if (CCTK_EQUALS(ML_dtlapse_bound, "scalar"))
- {
- /* select scalar boundary condition */
- static CCTK_INT handle_ML_dtlapse_bound CCTK_ATTRIBUTE_UNUSED = -1;
- if (handle_ML_dtlapse_bound < 0) handle_ML_dtlapse_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
- if (handle_ML_dtlapse_bound < 0) CCTK_WARN(0, "could not create table!");
- if (Util_TableSetReal(handle_ML_dtlapse_bound ,ML_dtlapse_bound_scalar, "SCALAR") < 0)
- CCTK_WARN(0, "could not set SCALAR value in table!");
-
- ierr = Boundary_SelectGroupForBC(cctkGH, CCTK_ALL_FACES, 1, handle_ML_dtlapse_bound,
- "ML_BSSN::ML_dtlapse", "scalar");
-
- if (ierr < 0)
- CCTK_WARN(0, "Failed to register Scalar BC for ML_BSSN::ML_dtlapse!");
-
- }
-
if (CCTK_EQUALS(ML_shift_bound, "scalar"))
{
/* select scalar boundary condition */
@@ -1511,23 +1434,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
}
- if (CCTK_EQUALS(A_bound, "scalar"))
- {
- /* select scalar boundary condition */
- static CCTK_INT handle_A_bound CCTK_ATTRIBUTE_UNUSED = -1;
- if (handle_A_bound < 0) handle_A_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
- if (handle_A_bound < 0) CCTK_WARN(0, "could not create table!");
- if (Util_TableSetReal(handle_A_bound ,A_bound_scalar, "SCALAR") < 0)
- CCTK_WARN(0, "could not set SCALAR value in table!");
-
- ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, handle_A_bound,
- "ML_BSSN::A", "scalar");
-
- if (ierr < 0)
- CCTK_WARN(0, "Error in registering Scalar BC for ML_BSSN::A!");
-
- }
-
if (CCTK_EQUALS(beta1_bound, "scalar"))
{
/* select scalar boundary condition */
@@ -1665,11 +1571,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
#$bound$#ML_BSSN::ML_lapse_bound_limit = 0.0
#$bound$#ML_BSSN::ML_lapse_bound_scalar = 0.0
-#$bound$#ML_BSSN::ML_dtlapse_bound = "skip"
-#$bound$#ML_BSSN::ML_dtlapse_bound_speed = 1.0
-#$bound$#ML_BSSN::ML_dtlapse_bound_limit = 0.0
-#$bound$#ML_BSSN::ML_dtlapse_bound_scalar = 0.0
-
#$bound$#ML_BSSN::ML_shift_bound = "skip"
#$bound$#ML_BSSN::ML_shift_bound_speed = 1.0
#$bound$#ML_BSSN::ML_shift_bound_limit = 0.0
@@ -1770,11 +1671,6 @@ extern "C" void ML_BSSN_SelectBoundConds(CCTK_ARGUMENTS)
#$bound$#ML_BSSN::alpha_bound_limit = 0.0
#$bound$#ML_BSSN::alpha_bound_scalar = 0.0
-#$bound$#ML_BSSN::A_bound = "skip"
-#$bound$#ML_BSSN::A_bound_speed = 1.0
-#$bound$#ML_BSSN::A_bound_limit = 0.0
-#$bound$#ML_BSSN::A_bound_scalar = 0.0
-
#$bound$#ML_BSSN::beta1_bound = "skip"
#$bound$#ML_BSSN::beta1_bound_speed = 1.0
#$bound$#ML_BSSN::beta1_bound_limit = 0.0