39 decompositionConstraint,
40 refinementHistoryConstraint,
56 if (decompositionConstraint::debug)
58 Info<<
type() <<
" : setting constraints to preserve refinement history" 68 if (decompositionConstraint::debug)
70 Info<<
type() <<
" : setting constraints to refinement history" 92 if (decompositionConstraint::debug)
100 if (decompositionConstraint::debug)
102 Info<<
type() <<
" : reading refinementHistory from time " 136 specifiedProcessorFaces,
203 specifiedProcessorFaces,
const fileName & facesInstance() const
Return the current instance directory for faces.
void reset(T *=nullptr)
If object pointer already set, delete object and set to given.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool active() const
Is there unrefinement history?
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool foundObject(const word &name) const
Is the named Type found?
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
virtual void apply(const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const
Apply any additional post-decomposition constraints.
refinementHistoryConstraint()
Construct from components.
A class for handling words, derived from string.
bool valid() const
Return true if the autoPtr valid (ie, the pointer is set)
virtual void add(const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
Add my constraints to list of constraints.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeName(refinementHistoryConstraint)
void apply(const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const
Apply any additional post-decomposition constraints.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
All refinement history. Used in unrefinement.
void add(boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
Add my decomposition constraints.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...