Go to the documentation of this file.
57 coordinateModifierPtr_(NULL),
58 modificationActive_(
false)
81 "const triSurf* polyMeshGenGeometryModification"
82 "::modifyGeometry() const"
83 ) <<
"Modification is not active" <<
endl;
91 # pragma omp parallel for schedule(dynamic, 50)
103 "const triSurf* polyMeshGenGeometryModification"
104 "::revertGeometryModification() const"
105 ) <<
"Modification is not active" <<
endl;
113 # pragma omp parallel for schedule(dynamic, 50)
bool modificationActive_
is mofdification active
#define forAll(list, i)
Loop across all elements in list.
point modifiedPoint(const point &) const
calculate the modified coordinate of the point
~polyMeshGenGeometryModification()
coordinateModifier * coordinateModifierPtr_
contruct coordinate modification
Ostream & endl(Ostream &os)
Add newline and flush stream.
const pointFieldPMG & points() const
access to points
polyMeshGenGeometryModification(const polyMeshGenGeometryModification &)
disable bitwise copy construct
const dictionary & meshDict_
length of box sides
void deleteDemandDrivenData(DataPtr &dataPtr)
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void revertGeometryModification()
revert modification of coorinates
polyMeshGen & mesh_
reference to polyMeshGen
void modifyGeometry()
modify coordinates
bool activeModification() const
is geometry modification active
#define WarningIn(functionName)
Report a warning using Foam::Warning.
point backwardModifiedPoint(const point &) const
calculate the displacement vector for the backward modification
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
void checkModification()
check existence of geometry modifiers