diff options
Diffstat (limited to 'src/multipole.cc')
-rw-r--r-- | src/multipole.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/multipole.cc b/src/multipole.cc index 6f8848c..e0e51e0 100644 --- a/src/multipole.cc +++ b/src/multipole.cc @@ -83,22 +83,7 @@ static void parse_variables_string(const char *var_string, variable_desc v[max_v vars.n_vars = 0; vars.vars = v; - const char *actual_var_string = strlen(var_string) == 0 ? - "WeylScal4::Psi4r{sw=-2 cmplx=\'WeylScal4::Psi4i\' name=\'psi4\'}" : - var_string; - - if (strlen(var_string) == 0) - { - static bool have_warned = false; - if (!have_warned) - { - CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, - "WARNING: No Multipole::variables string has been specified. For compatibility, the current default is to use \"%s\" but in future, this default will change to \"\". Please update your parameter files to include this new parameter.", actual_var_string); - have_warned = true; - } - } - - int ierr = CCTK_TraverseString(actual_var_string, fill_variable, &vars, CCTK_GROUP_OR_VAR); + int ierr = CCTK_TraverseString(var_string, fill_variable, &vars, CCTK_GROUP_OR_VAR); assert(ierr > 0); *n_variables = vars.n_vars; |