mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Updated template code
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
@ -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
|
||||||
@}
|
@}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user