diff options
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r-- | src/ParamCheck.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c index 01e6cbd..2b63422 100644 --- a/src/ParamCheck.c +++ b/src/ParamCheck.c @@ -71,7 +71,9 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) { if (MoL_Num_Scratch_Levels < MoL_Intermediate_Steps - 1) { - CCTK_PARAMWARN("When using a generic solver the number of scratch levels must be at least the number of intermediate steps - 1"); + CCTK_PARAMWARN("When using a generic solver the number " + "of scratch levels must be at least the " + "number of intermediate steps - 1"); } if (CCTK_Equals(Generic_Type, "Table")) { @@ -79,7 +81,8 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) Util_TableCreateFromString(Generic_Method_Descriptor); if (options_table < 0) { - CCTK_WARN(0, "Failed to create table from Generic_Method_Descriptor!"); + CCTK_WARN(0, "Failed to create table from " + "Generic_Method_Descriptor!"); } ierr = Util_TableGetInt(options_table, &GenericIntermediateSteps, @@ -88,7 +91,9 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) { if (ierr == UTIL_ERROR_TABLE_NO_SUCH_KEY) { - CCTK_WARN(0, "When using the generic table options you must set \"GenericIntermediateSteps\" in the options table"); + CCTK_WARN(0, "When using the generic table options " + "you must set \"GenericIntermediateSteps\" in " + "the options table"); } else { @@ -97,7 +102,8 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) } if (MoL_Intermediate_Steps != GenericIntermediateSteps) { - CCTK_PARAMWARN("The number of intermediate steps must equal the number specified in the table options!"); + CCTK_PARAMWARN("The number of intermediate steps must " + "equal the number specified in the table options!"); } ierr = Util_TableDestroy(options_table); } @@ -105,12 +111,14 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) if ( (CCTK_Equals(ODE_Method, "RK2"))&&(!(MoL_Intermediate_Steps == 2)) ) { - CCTK_PARAMWARN("When using the efficient RK2 evolver the number of intermediate steps must be 2"); + CCTK_PARAMWARN("When using the efficient RK2 evolver the " + "number of intermediate steps must be 2"); } if ( (CCTK_Equals(ODE_Method, "RK3"))&&(!(MoL_Intermediate_Steps == 3)) ) { - CCTK_PARAMWARN("When using the efficient RK3 evolver the number of intermediate steps must be 3"); + CCTK_PARAMWARN("When using the efficient RK3 evolver the " + "number of intermediate steps must be 3"); } return 0; |