Public Member Functions | |
polyMeshGen2DEngine (const polyMeshGen &mesh) | |
Construct from the const reference to the mesh. More... | |
~polyMeshGen2DEngine () | |
const boolList & | activeFace () const |
const access to active faces More... | |
const labelList & | activeFaceLabels () const |
labels of active faces More... | |
const boolList & | zMinPoints () const |
const labelList & | zMinPointLabels () const |
labels of points in the x-y with the smallest z coordinate More... | |
const labelList & | zMinToZMax () const |
offset points of points at minimum z More... | |
const boolList & | zMaxPoints () const |
const labelList & | zMaxPointLabels () const |
labels of points in the x-y with the largest z coordinate More... | |
const labelList & | zMaxToZMin () const |
offset points of points at maximum z More... | |
void | correctPoints () |
void | clearOut () |
delete all dynamically allocated data More... | |
Private Member Functions | |
void | findActiveFaces () const |
find active faces More... | |
void | findActiveFaceLabels () const |
find active face labels More... | |
void | findZMinPoints () const |
find points at minimum z More... | |
void | findZMinPointLabels () const |
find labels of points at minimum z More... | |
void | findZMinOffsetPoints () const |
find offset point to each zMin point More... | |
void | findZMaxPoints () const |
find points at maximum z More... | |
void | findZMaxPointLabels () const |
find labels of points at minimum z More... | |
void | findZMaxOffsetPoints () const |
find offset point to each zMin point More... | |
void | operator= (const polyMeshGen2DEngine &) |
disallow bitwise assignment More... | |
polyMeshGen2DEngine (const polyMeshGen2DEngine &) | |
disallow copy construct More... | |
Private Attributes | |
const polyMeshGen & | mesh_ |
const reference to the mesh More... | |
boundBox | bb_ |
bounding box More... | |
boolList * | activeFacePtr_ |
which faces are not in the x-y plane More... | |
labelList * | activeFaceLabelsPtr_ |
labels of active faces More... | |
boolList * | zMinPointPtr_ |
which points are in the x-y plane and at smallest z More... | |
labelList * | zMinPointLabelsPtr_ |
labels of points at minimum z More... | |
labelList * | zMinToZMaxPtr_ |
labels of offset points of zMin points More... | |
boolList * | zMaxPointPtr_ |
which points are in the x-y plane and at largest z More... | |
labelList * | zMaxPointLabelsPtr_ |
labels of points at maximum z More... | |
labelList * | zMaxToZMinPtr_ |
labels of zMin points of zMax points More... | |
Definition at line 51 of file polyMeshGen2DEngine.H.
|
private |
disallow copy construct
polyMeshGen2DEngine | ( | const polyMeshGen & | mesh | ) |
Construct from the const reference to the mesh.
Definition at line 273 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::bb_, forAll, boundBox::max(), Foam::max(), polyMeshGen2DEngine::mesh_, boundBox::min(), Foam::min(), UPstream::parRun(), points, polyMeshGenPoints::points(), and Foam::reduce().
~polyMeshGen2DEngine | ( | ) |
Definition at line 323 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::clearOut().
|
private |
find active faces
Definition at line 43 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::activeFacePtr_, f(), polyMeshGenFaces::faces(), forAll, polyMeshGen2DEngine::mesh_, faceListPMG::size(), polyMeshGen2DEngine::zMaxPoints(), and polyMeshGen2DEngine::zMinPoints().
Referenced by polyMeshGen2DEngine::activeFace().
|
private |
find active face labels
Definition at line 69 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::activeFace(), polyMeshGen2DEngine::activeFaceLabelsPtr_, and forAll.
Referenced by polyMeshGen2DEngine::activeFaceLabels().
|
private |
find points at minimum z
Definition at line 87 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::bb_, forAll, Foam::mag(), boundBox::max(), polyMeshGen2DEngine::mesh_, boundBox::min(), points, polyMeshGenPoints::points(), Vector< Cmpt >::z(), and polyMeshGen2DEngine::zMinPointPtr_.
Referenced by polyMeshGen2DEngine::zMinPoints().
|
private |
find labels of points at minimum z
Definition at line 111 of file polyMeshGen2DEngine.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, List::size(), polyMeshGen2DEngine::zMinPointLabelsPtr_, and polyMeshGen2DEngine::zMinPoints().
Referenced by polyMeshGen2DEngine::zMinPointLabels().
|
private |
find offset point to each zMin point
Definition at line 140 of file polyMeshGen2DEngine.C.
References polyMeshGenCells::addressingData(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, forAllRow, polyMeshGen2DEngine::mesh_, polyMeshGenAddressing::pointPoints(), List::size(), polyMeshGen2DEngine::zMinPointLabels(), polyMeshGen2DEngine::zMinPoints(), and polyMeshGen2DEngine::zMinToZMaxPtr_.
Referenced by polyMeshGen2DEngine::zMinToZMax().
|
private |
find points at maximum z
Definition at line 179 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::bb_, forAll, Foam::mag(), boundBox::max(), polyMeshGen2DEngine::mesh_, boundBox::min(), points, polyMeshGenPoints::points(), Vector< Cmpt >::z(), and polyMeshGen2DEngine::zMaxPointPtr_.
Referenced by polyMeshGen2DEngine::zMaxPoints().
|
private |
find labels of points at minimum z
Definition at line 203 of file polyMeshGen2DEngine.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, List::size(), polyMeshGen2DEngine::zMaxPointLabelsPtr_, and polyMeshGen2DEngine::zMaxPoints().
Referenced by polyMeshGen2DEngine::zMaxPointLabels().
|
private |
find offset point to each zMin point
Definition at line 232 of file polyMeshGen2DEngine.C.
References polyMeshGenCells::addressingData(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, forAllRow, polyMeshGen2DEngine::mesh_, polyMeshGenAddressing::pointPoints(), List::size(), polyMeshGen2DEngine::zMaxPointLabels(), polyMeshGen2DEngine::zMaxPoints(), and polyMeshGen2DEngine::zMaxToZMinPtr_.
Referenced by polyMeshGen2DEngine::zMaxToZMin().
|
private |
disallow bitwise assignment
|
inline |
const access to active faces
Definition at line 48 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::activeFacePtr_, and polyMeshGen2DEngine::findActiveFaces().
Referenced by meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), meshSurfaceMapper2D::findActiveBoundaryEdges(), polyMeshGen2DEngine::findActiveFaceLabels(), and meshSurfaceOptimizer::untangleSurface2D().
|
inline |
labels of active faces
Definition at line 56 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::activeFaceLabelsPtr_, and polyMeshGen2DEngine::findActiveFaceLabels().
|
inline |
const access to an array of booleans which is true for points in the x-y plane with the smallest z coordinate
Definition at line 64 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMinPoints(), and polyMeshGen2DEngine::zMinPointPtr_.
Referenced by boundaryLayers::activate2DMode(), meshSurfaceMapper2D::adjustZCoordinates(), detectBoundaryLayers::analyseLayers(), refineBoundaryLayers::analyseLayers(), meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), polyMeshGen2DEngine::findActiveFaces(), polyMeshGen2DEngine::findZMinOffsetPoints(), polyMeshGen2DEngine::findZMinPointLabels(), meshSurfaceOptimizer::optimizeSurface2D(), and meshSurfaceOptimizer::untangleSurface2D().
|
inline |
labels of points in the x-y with the smallest z coordinate
Definition at line 72 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMinPointLabels(), and polyMeshGen2DEngine::zMinPointLabelsPtr_.
Referenced by polyMeshGen2DEngine::correctPoints(), and polyMeshGen2DEngine::findZMinOffsetPoints().
|
inline |
offset points of points at minimum z
Definition at line 80 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMinOffsetPoints(), and polyMeshGen2DEngine::zMinToZMaxPtr_.
Referenced by polyMeshGen2DEngine::correctPoints().
|
inline |
const access to an array of booleans which is true for points in the x-y plane with the largest z coordinate
Definition at line 88 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMaxPoints(), and polyMeshGen2DEngine::zMaxPointPtr_.
Referenced by boundaryLayers::activate2DMode(), meshSurfaceMapper2D::adjustZCoordinates(), detectBoundaryLayers::analyseLayers(), refineBoundaryLayers::analyseLayers(), meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), polyMeshGen2DEngine::findActiveFaces(), polyMeshGen2DEngine::findZMaxOffsetPoints(), and polyMeshGen2DEngine::findZMaxPointLabels().
|
inline |
labels of points in the x-y with the largest z coordinate
Definition at line 96 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMaxPointLabels(), and polyMeshGen2DEngine::zMaxPointLabelsPtr_.
Referenced by polyMeshGen2DEngine::findZMaxOffsetPoints().
|
inline |
offset points of points at maximum z
Definition at line 104 of file polyMeshGen2DEngineI.H.
References polyMeshGen2DEngine::findZMaxOffsetPoints(), and polyMeshGen2DEngine::zMaxToZMinPtr_.
void correctPoints | ( | ) |
correct x and y coordinates of offset points and unify the z coordinate
Definition at line 330 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::bb_, forAll, boundBox::max(), polyMeshGen2DEngine::mesh_, boundBox::min(), p, points, polyMeshGenPoints::points(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), Vector< Cmpt >::z(), polyMeshGen2DEngine::zMinPointLabels(), and polyMeshGen2DEngine::zMinToZMax().
Referenced by meshSurfaceOptimizer::optimizeSurface2D(), and meshSurfaceOptimizer::untangleSurface2D().
void clearOut | ( | ) |
delete all dynamically allocated data
Definition at line 352 of file polyMeshGen2DEngine.C.
References polyMeshGen2DEngine::activeFaceLabelsPtr_, polyMeshGen2DEngine::activeFacePtr_, Foam::deleteDemandDrivenData(), polyMeshGen2DEngine::zMaxPointLabelsPtr_, polyMeshGen2DEngine::zMaxPointPtr_, polyMeshGen2DEngine::zMaxToZMinPtr_, polyMeshGen2DEngine::zMinPointLabelsPtr_, polyMeshGen2DEngine::zMinPointPtr_, and polyMeshGen2DEngine::zMinToZMaxPtr_.
Referenced by polyMeshGen2DEngine::~polyMeshGen2DEngine().
|
private |
const reference to the mesh
Definition at line 55 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::correctPoints(), polyMeshGen2DEngine::findActiveFaces(), polyMeshGen2DEngine::findZMaxOffsetPoints(), polyMeshGen2DEngine::findZMaxPoints(), polyMeshGen2DEngine::findZMinOffsetPoints(), polyMeshGen2DEngine::findZMinPoints(), and polyMeshGen2DEngine::polyMeshGen2DEngine().
|
private |
bounding box
Definition at line 58 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::correctPoints(), polyMeshGen2DEngine::findZMaxPoints(), polyMeshGen2DEngine::findZMinPoints(), and polyMeshGen2DEngine::polyMeshGen2DEngine().
|
mutableprivate |
which faces are not in the x-y plane
Definition at line 61 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::activeFace(), polyMeshGen2DEngine::clearOut(), and polyMeshGen2DEngine::findActiveFaces().
|
mutableprivate |
labels of active faces
Definition at line 64 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::activeFaceLabels(), polyMeshGen2DEngine::clearOut(), and polyMeshGen2DEngine::findActiveFaceLabels().
|
mutableprivate |
which points are in the x-y plane and at smallest z
Definition at line 67 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMinPoints(), and polyMeshGen2DEngine::zMinPoints().
|
mutableprivate |
labels of points at minimum z
Definition at line 70 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMinPointLabels(), and polyMeshGen2DEngine::zMinPointLabels().
|
mutableprivate |
labels of offset points of zMin points
Definition at line 73 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMinOffsetPoints(), and polyMeshGen2DEngine::zMinToZMax().
|
mutableprivate |
which points are in the x-y plane and at largest z
Definition at line 76 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMaxPoints(), and polyMeshGen2DEngine::zMaxPoints().
|
mutableprivate |
labels of points at maximum z
Definition at line 79 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMaxPointLabels(), and polyMeshGen2DEngine::zMaxPointLabels().
|
mutableprivate |
labels of zMin points of zMax points
Definition at line 82 of file polyMeshGen2DEngine.H.
Referenced by polyMeshGen2DEngine::clearOut(), polyMeshGen2DEngine::findZMaxOffsetPoints(), and polyMeshGen2DEngine::zMaxToZMin().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.