Public Member Functions | |
checkCellConnectionsOverFaces (polyMeshGen &mesh) | |
Construct from polyMeshGen. More... | |
~checkCellConnectionsOverFaces () | |
bool | checkCellGroups () |
Private Member Functions | |
void | findCellGroups () |
decompose marked cells More... | |
checkCellConnectionsOverFaces (const checkCellConnectionsOverFaces &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const checkCellConnectionsOverFaces &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
polyMeshGen & | mesh_ |
Reference to polyMeshGen. More... | |
labelList | cellGroup_ |
label | nGroups_ |
number of groups More... | |
Definition at line 48 of file checkCellConnectionsOverFaces.H.
|
private |
Disallow default bitwise copy construct.
checkCellConnectionsOverFaces | ( | polyMeshGen & | mesh | ) |
Construct from polyMeshGen.
Definition at line 205 of file checkCellConnectionsOverFaces.C.
References checkCellConnectionsOverFaces::findCellGroups().
Definition at line 216 of file checkCellConnectionsOverFaces.C.
|
private |
decompose marked cells
Definition at line 186 of file checkCellConnectionsOverFaces.C.
References checkCellConnectionsOverFaces::cellGroup_, Foam::endl(), Foam::help::groupMarking(), Foam::Info, checkCellConnectionsOverFaces::mesh_, checkCellConnectionsOverFaces::nGroups_, and polyMeshGenFaces::owner().
Referenced by checkCellConnectionsOverFaces::checkCellConnectionsOverFaces().
|
private |
Disallow default bitwise assignment.
bool checkCellGroups | ( | ) |
check if all cells are connected as a single domain return true if the mesh has been changed
find groups which has most cells this group will be kept
remove cells which are not in the group which has max num of cells
Definition at line 221 of file checkCellConnectionsOverFaces.C.
References checkCellConnectionsOverFaces::cellGroup_, polyMeshGenCells::cells(), Foam::endl(), forAll, checkCellConnectionsOverFaces::mesh_, checkCellConnectionsOverFaces::nGroups_, UPstream::parRun(), Foam::reduce(), polyMeshGenModifier::removeCells(), cellListPMG::size(), and Foam::Warning.
|
private |
Reference to polyMeshGen.
Definition at line 52 of file checkCellConnectionsOverFaces.H.
Referenced by checkCellConnectionsOverFaces::checkCellGroups(), and checkCellConnectionsOverFaces::findCellGroups().
|
private |
each cell is assigned a group cells which can be visited over face neighbours are assigned to the same group
Definition at line 57 of file checkCellConnectionsOverFaces.H.
Referenced by checkCellConnectionsOverFaces::checkCellGroups(), and checkCellConnectionsOverFaces::findCellGroups().
|
private |
number of groups
Definition at line 60 of file checkCellConnectionsOverFaces.H.
Referenced by checkCellConnectionsOverFaces::checkCellGroups(), and checkCellConnectionsOverFaces::findCellGroups().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.