boundaryField() -> boundaryFieldRef()
This commit is contained in:
@ -173,9 +173,9 @@ label addCellZone(const polyMesh& mesh, const word& name)
|
||||
// Checks whether patch present
|
||||
void checkPatch(const polyBoundaryMesh& bMesh, const word& name)
|
||||
{
|
||||
const label patchI = bMesh.findPatchID(name);
|
||||
const label patchi = bMesh.findPatchID(name);
|
||||
|
||||
if (patchI == -1)
|
||||
if (patchi == -1)
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Cannot find patch " << name << endl
|
||||
@ -184,7 +184,7 @@ void checkPatch(const polyBoundaryMesh& bMesh, const word& name)
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
if (bMesh[patchI].empty())
|
||||
if (bMesh[patchi].empty())
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Patch " << name << " is present but zero size"
|
||||
|
||||
Reference in New Issue
Block a user