STYLE: indentation for FatalIOErrorInFunction calls

This commit is contained in:
Mark Olesen
2018-11-06 09:49:22 +01:00
parent 2fc1a1692b
commit a7a346b206
111 changed files with 415 additions and 813 deletions

View File

@ -94,10 +94,8 @@ Foam::smoluchowskiJumpTFvPatchScalarField::smoluchowskiJumpTFvPatchScalarField
|| mag(accommodationCoeff_) > 2.0
)
{
FatalIOErrorInFunction
(
dict
) << "unphysical accommodationCoeff specified"
FatalIOErrorInFunction(dict)
<< "unphysical accommodationCoeff specified"
<< "(0 < accommodationCoeff <= 1)" << endl
<< exit(FatalIOError);
}

View File

@ -96,10 +96,8 @@ Foam::maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
|| mag(accommodationCoeff_) > 2.0
)
{
FatalIOErrorInFunction
(
dict
) << "unphysical accommodationCoeff_ specified"
FatalIOErrorInFunction(dict)
<< "unphysical accommodationCoeff_ specified"
<< "(0 < accommodationCoeff_ <= 1)" << endl
<< exit(FatalIOError);
}

View File

@ -211,10 +211,8 @@ void readPoints
{
hasWarned = true;
IOWarningInFunction
(
is
) << "Points not in order starting at point " << pointi
IOWarningInFunction(is)
<< "Points not in order starting at point " << pointi
<< endl;
}

View File

@ -465,10 +465,8 @@ Foam::conformationSurfaces::conformationSurfaces
if (unmatchedKeys.size() > 0)
{
IOWarningInFunction
(
surfacesDict
) << "Not all entries in conformationSurfaces dictionary were used."
IOWarningInFunction(surfacesDict)
<< "Not all entries in conformationSurfaces dictionary were used."
<< " The following entries were not used : "
<< unmatchedKeys.sortedToc()
<< endl;

View File

@ -74,10 +74,8 @@ Foam::surfaceFeaturesExtraction::method::New
if (!cstrIter.found())
{
FatalIOErrorInFunction
(
dict
) << "Unknown extractionMethod " << methodName << nl << nl
FatalIOErrorInFunction(dict)
<< "Unknown extractionMethod " << methodName << nl << nl
<< "Valid extraction methods:" << nl
<< flatOutput(dictionaryConstructorTablePtr_->sortedToc())
<< exit(FatalIOError);