Go to the documentation of this file.
162 forAll(pointAtProcs, pointI)
163 if( pointAtProcs.
sizeOfRow(pointI) != 0 )
177 enforceConstraints_(false),
178 badPointsSubsetName_()
212 Warning <<
"Subset " << subsetName <<
" is not a cell subset!"
213 <<
" Cannot lock cells!" <<
endl;
230 Warning <<
"Subset " << subsetName <<
" is not a face subset!"
231 <<
" Cannot lock faces!" <<
endl;
248 Warning <<
"Subset " << subsetName <<
" is not a point subset!"
249 <<
" Cannot lock points!" <<
endl;
259 # pragma omp parallel for schedule(dynamic, 50)
void lockCells(const labelListType &)
lock the cells which shall not be modified
const polyMeshGenAddressing & addressingData() const
addressing which may be needed
A class for handling words, derived from string.
void checkFaceSkewness(const polyMeshGen &, scalarField &, const boolList *changedFacePtr=NULL)
Check face skewness.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
List< direction > vertexLocation_
location of vertex (internal, boundary, edge, corner)
label faceSubsetIndex(const word &) const
static bool & parRun()
Is this a parallel run?
Ostream & endl(Ostream &os)
Add newline and flush stream.
void lockCellsInSubset(const word &subsetName)
const pointFieldPMG & points() const
access to points
void facesInSubset(const label, ListType &) const
bool checkFaceAreas(const polyMeshGen &, const bool report=false, const scalar minFaceArea=VSMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
Check for negative face areas.
label pointSubsetIndex(const word &) const
bool checkFaceFlatness(const polyMeshGen &, const bool report, const scalar warnFlatness, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
Check face warpage: decompose face and check ratio between.
void lockFaces(const labelListType &)
lock the faces whih shall not be modified
const VRWGraph & pointAtProcs() const
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void setSize(const label)
Reset size of List.
bool enforceConstraints_
enforce constraints
void deleteDemandDrivenData(DataPtr &dataPtr)
void lockPointsInSubset(const word &subsetName)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label findLowQualityFaces(labelHashSet &, const boolList &) const
meshSurfaceEngine * msePtr_
mesh surface
void lockFacesInSubset(const word &subsetName)
void checkFaceDotProduct(const polyMeshGen &, scalarField &, const boolList *changedFacePtr=NULL)
Check for non-orthogonality.
label size() const
return the number of used elements
labelLongList lockedFaces_
locked faces which shall not be changed
label sizeOfRow(const label rowI) const
Returns the number of elements in the given row.
label size() const
Return number of elements in table.
bool checkCellPartTetrahedra(const polyMeshGen &, const bool report=false, const scalar minPartTet=VSMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
polyMeshGen & mesh_
reference to the mesh
meshOptimizer(const meshOptimizer &)
Disallow default bitwise copy construct.
void enforceConstraints(const word subsetName="badPoints")
void pointsInSubset(const label, ListType &) const
bool checkFacePyramids(const polyMeshGen &, const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=NULL, const boolList *changedFacePtr=NULL)
Check face pyramid volume.
void setSize(const label)
Reset size of List.
word badPointsSubsetName_
name of the subset contaning tangled points
const labelHashSet & edgePoints() const
return labels of edge points (from the list of boundary points)
label findBadFaces(labelHashSet &, const boolList &) const
find problematic faces
void clear()
Clear all entries from table.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void calculatePointLocations()
mark point locations
void cellsInSubset(const label, ListType &) const
const labelList & boundaryPoints() const
const meshSurfaceEngine & meshSurface() const
return mesh surface
const labelHashSet & corners() const
return labels of corner points (from the list of boundary points)
void removeUserConstraints()
reset to default constraints
label cellSubsetIndex(const word &) const