aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
diff options
context:
space:
mode:
authorhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2003-07-24 13:11:59 +0000
committerhawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2003-07-24 13:11:59 +0000
commitb18926e6de794bb786988f3f61b2943ffbd6da1a (patch)
tree3bfaebc25c4398b5ea2ae2a056cb0ab72bdce0f2 /src/ParamCheck.c
parent3b7f68b36f2f2ffd862234b6c5b9e70a37953f42 (diff)
Formatting changes only.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@32 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r--src/ParamCheck.c20
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;