STYLE: Updated template code

This commit is contained in:
Andrew Heather
2016-06-17 14:11:59 +01:00
parent ad73063ebd
commit 9e84deeb09
12 changed files with 33 additions and 32 deletions

View File

@ -97,7 +97,7 @@ List<Vb::Point> pointFile::initialPoints() const
if (points.empty()) if (points.empty())
{ {
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const") FatalErrorInFunction
<< "Point file contain no points" << "Point file contain no points"
<< exit(FatalError) << endl; << exit(FatalError) << endl;
} }
@ -128,7 +128,7 @@ List<Vb::Point> pointFile::initialPoints() const
if (points.empty()) if (points.empty())
{ {
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const") FatalErrorInFunction
<< "Point file contain no points" << "Point file contain no points"
<< exit(FatalError) << endl; << exit(FatalError) << endl;
} }
@ -170,7 +170,7 @@ List<Vb::Point> pointFile::initialPoints() const
} }
else else
{ {
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const") FatalErrorInFunction
<< "Cannot find points file " << pointsIO.objectPath() << "Cannot find points file " << pointsIO.objectPath()
<< exit(FatalError) << endl; << exit(FatalError) << endl;
} }

View File

@ -119,7 +119,7 @@ void Foam::unwatchedIOdictionary::addWatch()
if (findIndex(files_, f) != -1) if (findIndex(files_, f) != -1)
{ {
FatalErrorIn("regIOobject::addWatch()") FatalErrorInFunction
<< "Object " << objectPath() << " of type " << type() << "Object " << objectPath() << " of type " << type()
<< " already watched" << abort(FatalError); << " already watched" << abort(FatalError);
} }

View File

@ -269,7 +269,7 @@ void Foam::regIOobject::addWatch()
label index = time().findWatch(watchIndices_, f); label index = time().findWatch(watchIndices_, f);
if (index != -1) if (index != -1)
{ {
FatalErrorIn("regIOobject::addWatch()") FatalErrorInFunction
<< "Object " << objectPath() << " of type " << type() << "Object " << objectPath() << " of type " << type()
<< " already watched with index " << watchIndices_[index] << " already watched with index " << watchIndices_[index]
<< abort(FatalError); << abort(FatalError);

View File

@ -1058,7 +1058,7 @@ Foam::tmp<Foam::scalarField> Foam::polyMesh::movePoints
if (newPoints.size() != points_.size()) if (newPoints.size() != points_.size())
{ {
FatalErrorIn("polyMesh::movePoints(const pointField&)") FatalErrorInFunction
<< "Size of newPoints " << newPoints.size() << "Size of newPoints " << newPoints.size()
<< " does not correspond to current mesh points size " << " does not correspond to current mesh points size "
<< points_.size() << points_.size()

View File

@ -25,6 +25,7 @@ License
\defgroup grpRegionBoundaryConditions Region boundary conditions \defgroup grpRegionBoundaryConditions Region boundary conditions
@{ @{
\ingroup grpBoundaryConditions
This group contains region model boundary conditions This group contains region model boundary conditions
@} @}