aboutsummaryrefslogtreecommitdiff
path: root/ML_ADM/src/Boundaries.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_ADM/src/Boundaries.cc')
-rw-r--r--ML_ADM/src/Boundaries.cc82
1 files changed, 41 insertions, 41 deletions
diff --git a/ML_ADM/src/Boundaries.cc b/ML_ADM/src/Boundaries.cc
index 4e20959..03f536d 100644
--- a/ML_ADM/src/Boundaries.cc
+++ b/ML_ADM/src/Boundaries.cc
@@ -30,7 +30,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
- CCTK_INT ierr = 0;
+ CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0;
if (CCTK_EQUALS(ML_curv_bound, "none" ) ||
CCTK_EQUALS(ML_curv_bound, "static") ||
@@ -255,7 +255,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_curv_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_ML_curv_bound = -1;
+ static CCTK_INT handle_ML_curv_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_curv_bound < 0) handle_ML_curv_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_curv_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_curv_bound , ML_curv_bound_limit, "LIMIT") < 0)
@@ -274,7 +274,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_lapse_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_ML_lapse_bound = -1;
+ static CCTK_INT handle_ML_lapse_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_lapse_bound < 0) handle_ML_lapse_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_lapse_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_lapse_bound , ML_lapse_bound_limit, "LIMIT") < 0)
@@ -293,7 +293,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_metric_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_ML_metric_bound = -1;
+ static CCTK_INT handle_ML_metric_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_metric_bound < 0) handle_ML_metric_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_metric_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_metric_bound , ML_metric_bound_limit, "LIMIT") < 0)
@@ -312,7 +312,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_shift_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_ML_shift_bound = -1;
+ static CCTK_INT handle_ML_shift_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_shift_bound < 0) handle_ML_shift_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_shift_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_shift_bound , ML_shift_bound_limit, "LIMIT") < 0)
@@ -331,7 +331,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K11_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K11_bound = -1;
+ static CCTK_INT handle_K11_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K11_bound < 0) handle_K11_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K11_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K11_bound , K11_bound_limit, "LIMIT") < 0)
@@ -350,7 +350,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K12_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K12_bound = -1;
+ static CCTK_INT handle_K12_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K12_bound < 0) handle_K12_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K12_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K12_bound , K12_bound_limit, "LIMIT") < 0)
@@ -369,7 +369,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K13_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K13_bound = -1;
+ static CCTK_INT handle_K13_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K13_bound < 0) handle_K13_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K13_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K13_bound , K13_bound_limit, "LIMIT") < 0)
@@ -388,7 +388,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K22_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K22_bound = -1;
+ static CCTK_INT handle_K22_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K22_bound < 0) handle_K22_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K22_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K22_bound , K22_bound_limit, "LIMIT") < 0)
@@ -407,7 +407,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K23_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K23_bound = -1;
+ static CCTK_INT handle_K23_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K23_bound < 0) handle_K23_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K23_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K23_bound , K23_bound_limit, "LIMIT") < 0)
@@ -426,7 +426,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K33_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_K33_bound = -1;
+ static CCTK_INT handle_K33_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K33_bound < 0) handle_K33_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K33_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K33_bound , K33_bound_limit, "LIMIT") < 0)
@@ -445,7 +445,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(alpha_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_alpha_bound = -1;
+ static CCTK_INT handle_alpha_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_alpha_bound < 0) handle_alpha_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_alpha_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_alpha_bound , alpha_bound_limit, "LIMIT") < 0)
@@ -464,7 +464,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g11_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g11_bound = -1;
+ static CCTK_INT handle_g11_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g11_bound < 0) handle_g11_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g11_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g11_bound , g11_bound_limit, "LIMIT") < 0)
@@ -483,7 +483,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g12_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g12_bound = -1;
+ static CCTK_INT handle_g12_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g12_bound < 0) handle_g12_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g12_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g12_bound , g12_bound_limit, "LIMIT") < 0)
@@ -502,7 +502,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g13_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g13_bound = -1;
+ static CCTK_INT handle_g13_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g13_bound < 0) handle_g13_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g13_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g13_bound , g13_bound_limit, "LIMIT") < 0)
@@ -521,7 +521,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g22_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g22_bound = -1;
+ static CCTK_INT handle_g22_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g22_bound < 0) handle_g22_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g22_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g22_bound , g22_bound_limit, "LIMIT") < 0)
@@ -540,7 +540,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g23_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g23_bound = -1;
+ static CCTK_INT handle_g23_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g23_bound < 0) handle_g23_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g23_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g23_bound , g23_bound_limit, "LIMIT") < 0)
@@ -559,7 +559,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g33_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_g33_bound = -1;
+ static CCTK_INT handle_g33_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g33_bound < 0) handle_g33_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g33_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g33_bound , g33_bound_limit, "LIMIT") < 0)
@@ -578,7 +578,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta1_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_beta1_bound = -1;
+ static CCTK_INT handle_beta1_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta1_bound < 0) handle_beta1_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta1_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta1_bound , beta1_bound_limit, "LIMIT") < 0)
@@ -597,7 +597,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta2_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_beta2_bound = -1;
+ static CCTK_INT handle_beta2_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta2_bound < 0) handle_beta2_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta2_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta2_bound , beta2_bound_limit, "LIMIT") < 0)
@@ -616,7 +616,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta3_bound, "radiative"))
{
/* select radiation boundary condition */
- static CCTK_INT handle_beta3_bound = -1;
+ static CCTK_INT handle_beta3_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta3_bound < 0) handle_beta3_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta3_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta3_bound , beta3_bound_limit, "LIMIT") < 0)
@@ -635,7 +635,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_curv_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_ML_curv_bound = -1;
+ static CCTK_INT handle_ML_curv_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_curv_bound < 0) handle_ML_curv_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_curv_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_curv_bound ,ML_curv_bound_scalar, "SCALAR") < 0)
@@ -652,7 +652,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_lapse_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_ML_lapse_bound = -1;
+ static CCTK_INT handle_ML_lapse_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_lapse_bound < 0) handle_ML_lapse_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_lapse_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_lapse_bound ,ML_lapse_bound_scalar, "SCALAR") < 0)
@@ -669,7 +669,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_metric_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_ML_metric_bound = -1;
+ static CCTK_INT handle_ML_metric_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_metric_bound < 0) handle_ML_metric_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_metric_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_metric_bound ,ML_metric_bound_scalar, "SCALAR") < 0)
@@ -686,7 +686,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(ML_shift_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_ML_shift_bound = -1;
+ static CCTK_INT handle_ML_shift_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_ML_shift_bound < 0) handle_ML_shift_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_ML_shift_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_ML_shift_bound ,ML_shift_bound_scalar, "SCALAR") < 0)
@@ -703,7 +703,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K11_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K11_bound = -1;
+ static CCTK_INT handle_K11_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K11_bound < 0) handle_K11_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K11_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K11_bound ,K11_bound_scalar, "SCALAR") < 0)
@@ -720,7 +720,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K12_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K12_bound = -1;
+ static CCTK_INT handle_K12_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K12_bound < 0) handle_K12_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K12_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K12_bound ,K12_bound_scalar, "SCALAR") < 0)
@@ -737,7 +737,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K13_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K13_bound = -1;
+ static CCTK_INT handle_K13_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K13_bound < 0) handle_K13_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K13_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K13_bound ,K13_bound_scalar, "SCALAR") < 0)
@@ -754,7 +754,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K22_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K22_bound = -1;
+ static CCTK_INT handle_K22_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K22_bound < 0) handle_K22_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K22_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K22_bound ,K22_bound_scalar, "SCALAR") < 0)
@@ -771,7 +771,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K23_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K23_bound = -1;
+ static CCTK_INT handle_K23_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K23_bound < 0) handle_K23_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K23_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K23_bound ,K23_bound_scalar, "SCALAR") < 0)
@@ -788,7 +788,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(K33_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_K33_bound = -1;
+ static CCTK_INT handle_K33_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_K33_bound < 0) handle_K33_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_K33_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_K33_bound ,K33_bound_scalar, "SCALAR") < 0)
@@ -805,7 +805,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(alpha_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_alpha_bound = -1;
+ static CCTK_INT handle_alpha_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_alpha_bound < 0) handle_alpha_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_alpha_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_alpha_bound ,alpha_bound_scalar, "SCALAR") < 0)
@@ -822,7 +822,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g11_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g11_bound = -1;
+ static CCTK_INT handle_g11_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g11_bound < 0) handle_g11_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g11_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g11_bound ,g11_bound_scalar, "SCALAR") < 0)
@@ -839,7 +839,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g12_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g12_bound = -1;
+ static CCTK_INT handle_g12_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g12_bound < 0) handle_g12_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g12_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g12_bound ,g12_bound_scalar, "SCALAR") < 0)
@@ -856,7 +856,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g13_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g13_bound = -1;
+ static CCTK_INT handle_g13_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g13_bound < 0) handle_g13_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g13_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g13_bound ,g13_bound_scalar, "SCALAR") < 0)
@@ -873,7 +873,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g22_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g22_bound = -1;
+ static CCTK_INT handle_g22_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g22_bound < 0) handle_g22_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g22_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g22_bound ,g22_bound_scalar, "SCALAR") < 0)
@@ -890,7 +890,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g23_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g23_bound = -1;
+ static CCTK_INT handle_g23_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g23_bound < 0) handle_g23_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g23_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g23_bound ,g23_bound_scalar, "SCALAR") < 0)
@@ -907,7 +907,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(g33_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_g33_bound = -1;
+ static CCTK_INT handle_g33_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_g33_bound < 0) handle_g33_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_g33_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_g33_bound ,g33_bound_scalar, "SCALAR") < 0)
@@ -924,7 +924,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta1_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_beta1_bound = -1;
+ static CCTK_INT handle_beta1_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta1_bound < 0) handle_beta1_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta1_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta1_bound ,beta1_bound_scalar, "SCALAR") < 0)
@@ -941,7 +941,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta2_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_beta2_bound = -1;
+ static CCTK_INT handle_beta2_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta2_bound < 0) handle_beta2_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta2_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta2_bound ,beta2_bound_scalar, "SCALAR") < 0)
@@ -958,7 +958,7 @@ extern "C" void ML_ADM_SelectBoundConds(CCTK_ARGUMENTS)
if (CCTK_EQUALS(beta3_bound, "scalar"))
{
/* select scalar boundary condition */
- static CCTK_INT handle_beta3_bound = -1;
+ static CCTK_INT handle_beta3_bound CCTK_ATTRIBUTE_UNUSED = -1;
if (handle_beta3_bound < 0) handle_beta3_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (handle_beta3_bound < 0) CCTK_WARN(0, "could not create table!");
if (Util_TableSetReal(handle_beta3_bound ,beta3_bound_scalar, "SCALAR") < 0)