ENH: polyMesh: fixed error message

This commit is contained in:
mattijs
2021-02-08 09:34:42 +00:00
parent 13152510b3
commit 3941159d6a
2 changed files with 9 additions and 7 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2019-2020 OpenCFD Ltd.
Copyright (C) 2019-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -63,7 +63,7 @@ void Foam::polyMesh::initMesh()
{
FatalErrorInFunction
<< "Illegal cell label " << owner_[facei]
<< " in neighbour addressing for face " << facei
<< " in owner addressing for face " << facei
<< exit(FatalError);
}
nCells = max(nCells, owner_[facei]);

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2015-2016 OpenFOAM Foundation
Copyright (C) 2018 OpenCFD Ltd.
Copyright (C) 2018,2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -60,8 +60,9 @@ Foam::decompositionConstraints::preservePatches::preservePatches
{
if (decompositionConstraint::debug)
{
Info<< type() << " : adding constraints to keep owner of faces"
<< " in patches " << patches_
Info<< type()
<< " : adding constraints to keep owner and (coupled) neighbour"
<< " of faces in patches " << patches_
<< " on same processor. This only makes sense for cyclics." << endl;
}
}
@ -77,8 +78,9 @@ Foam::decompositionConstraints::preservePatches::preservePatches
{
if (decompositionConstraint::debug)
{
Info<< type() << " : adding constraints to keep owner of faces"
<< " in patches " << patches_
Info<< type()
<< " : adding constraints to keep owner and (coupled) neighbour"
<< " of faces in patches " << patches_
<< " on same processor. This only makes sense for cyclics." << endl;
}
}