38namespace decompositionConstraints
61 if (decompositionConstraint::debug)
64 <<
" : setting constraints to refinement history" <<
endl;
73 if (decompositionConstraint::debug)
76 <<
" : setting constraints to refinement history" <<
endl;
98 const HistoryType* historyPtr =
99 mesh.findObject<HistoryType>(
"refinementHistory");
103 if (decompositionConstraint::debug)
110 if (decompositionConstraint::debug)
112 Info<<
type() <<
" : reading refinementHistory from time "
123 mesh.facesInstance(),
133 historyPtr = readFromFile.
get();
136 const auto& history = *historyPtr;
138 if (history.active())
144 specifiedProcessorFaces,
168 const HistoryType* historyPtr =
169 mesh.findObject<HistoryType>(
"refinementHistory");
180 mesh.facesInstance(),
190 historyPtr = readFromFile.
get();
193 const auto& history = *historyPtr;
195 if (history.active())
201 specifiedProcessorFaces,
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
T * get() noexcept
Return pointer to managed object without nullptr checking.
void reset(autoPtr< T > &&other) noexcept
Delete managed object and set to new given pointer.
virtual void apply()=0
Apply bins.
Abstract class for handling decomposition constraints.
Constraint to keep all cells originating from refining the same cell onto the same processor....
refinementHistory()
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Sums a given list of (at least two or more) fields and outputs the result into a new field,...
Mesh consisting of general polyhedral cells.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
All refinement history. Used in unrefinement.
#define defineTypeName(Type)
Define the typeName.
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.