Go to the documentation of this file.
52 # pragma omp parallel for schedule(dynamic, 50)
56 bool hasZMin(
false), hasZMax(
false);
58 const face&
f = faces[faceI];
96 # pragma omp parallel for schedule(dynamic, 50)
125 "void polyMeshGen2DEngine::findZMinPointLabels()"
126 ) <<
"The number of points at smallest z coordinate is"
127 <<
" not half of the total number of points."
128 <<
" This is not a 2D mesh or is not aligned with the z axis"
149 # pragma omp parallel for schedule(dynamic, 50)
155 label nInactive(0), offsetPoint(-1);
161 offsetPoint = pointPoints(pointI, ppI);
173 "void polyMeshGen2DEngine::findZMinOffsetPoints()"
188 # pragma omp parallel for schedule(dynamic, 50)
217 "void polyMeshGen2DEngine::findZMaxPointLabels()"
218 ) <<
"The number of points at largest z coordinate is"
219 <<
" not half of the total number of points."
220 <<
" This is not a 2D mesh or is not aligned with the z axis"
241 # pragma omp parallel for schedule(dynamic, 50)
247 label nInactive(0), offsetPoint(-1);
253 offsetPoint = pointPoints(pointI, ppI);
265 "void polyMeshGen2DEngine::findZMaxOffsetPoints()"
277 activeFacePtr_(NULL),
278 activeFaceLabelsPtr_(NULL),
280 zMinPointLabelsPtr_(NULL),
281 zMinToZMaxPtr_(NULL),
283 zMaxPointLabelsPtr_(NULL),
292 # pragma omp parallel
299 # pragma omp for schedule(dynamic, 50)
308 # pragma omp critical
338 # pragma omp parallel for schedule(dynamic, 50)
340 forAll(zMinPointLabels, apI)
void findZMaxPoints() const
find points at maximum z
boolList * activeFacePtr_
which faces are not in the x-y plane
const polyMeshGenAddressing & addressingData() const
addressing which may be needed
List< label > labelList
A List of labels.
const point & max() const
Maximum describing the bounding box.
#define forAll(list, i)
Loop across all elements in list.
const boolList & activeFace() const
const access to active faces
labelList * activeFaceLabelsPtr_
labels of active faces
LocalMin-mean differencing scheme class.
Template functions to aid in the implementation of demand driven data.
static bool & parRun()
Is this a parallel run?
const polyMeshGen & mesh_
const reference to the mesh
boolList * zMaxPointPtr_
which points are in the x-y plane and at largest z
const pointFieldPMG & points() const
access to points
void findActiveFaces() const
find active faces
dimensioned< scalar > mag(const dimensioned< Type > &)
const labelList & zMinToZMax() const
offset points of points at minimum z
void findZMinOffsetPoints() const
find offset point to each zMin point
const boolList & zMinPoints() const
labelList * zMinPointLabelsPtr_
labels of points at minimum z
const faceListPMG & faces() const
access to faces
void deleteDemandDrivenData(DataPtr &dataPtr)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
LocalMax-mean differencing scheme class.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList * zMaxToZMinPtr_
labels of zMin points of zMax points
#define forAllRow(graph, rowI, index)
const point & min() const
Minimum describing the bounding box.
const boolList & zMaxPoints() const
labelList * zMaxPointLabelsPtr_
labels of points at maximum z
List< bool > boolList
Bool container classes.
labelList * zMinToZMaxPtr_
labels of offset points of zMin points
errorManipArg< error, int > exit(error &err, const int errNo=1)
const labelList & zMinPointLabels() const
labels of points in the x-y with the smallest z coordinate
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
void clearOut()
delete all dynamically allocated data
label size() const
return the number of used elements
void findActiveFaceLabels() const
find active face labels
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void findZMinPointLabels() const
find labels of points at minimum z
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A face is a list of labels corresponding to mesh vertices.
void findZMaxOffsetPoints() const
find offset point to each zMin point
const VRWGraph & pointPoints() const
void findZMinPoints() const
find points at minimum z
void size(const label)
Override size to be inconsistent with allocated storage.
vector point
Point is a vector.
void findZMaxPointLabels() const
find labels of points at minimum z
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
polyMeshGen2DEngine(const polyMeshGen2DEngine &)
disallow copy construct
const labelList & zMaxPointLabels() const
labels of points in the x-y with the largest z coordinate
boolList * zMinPointPtr_
which points are in the x-y plane and at smallest z