Commit 09f60581 authored by andy's avatar andy
Browse files

STYLE: updated error comments

parent 87e61c64
......@@ -164,8 +164,21 @@ void Foam::KRR4::solve
if (x == xTemp)
{
FatalErrorIn("ODES::KRR4")
<< "stepsize not significant"
FatalErrorIn
(
"void Foam::KRR4::solve"
"("
"const ODE&, "
"scalar&, "
"scalarField&, "
"scalarField&, "
"const scalar, "
"const scalarField&, "
"const scalar, "
"scalar&, "
"scalar&"
") const"
) << "solver stalled: step size = 0"
<< exit(FatalError);
}
......@@ -189,8 +202,21 @@ void Foam::KRR4::solve
}
}
FatalErrorIn("ODES::KRR4")
<< "exceeded maxtry"
FatalErrorIn
(
"void Foam::KRR4::solve"
"("
"const ODE&, "
"scalar&, "
"scalarField&, "
"scalarField&, "
"const scalar, "
"const scalarField&, "
"const scalar, "
"scalar&, "
"scalar&"
") const"
) << "Maximum number of solver iterations exceeded"
<< exit(FatalError);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment