Go to the documentation of this file.
59 coordinateModifierPtr_(NULL),
60 modificationActive_(
false)
83 "const edgeMesh* edgeMeshGeometryModification"
84 "::modifyGeometry() const"
85 ) <<
"Modification is not active" <<
endl;
95 # pragma omp parallel for schedule(dynamic, 50)
112 "const edgeMesh* edgeMeshGeometryModification"
113 "::revertGeometryModification() const"
114 ) <<
"Modification is not active" <<
endl;
124 # pragma omp parallel for schedule(dynamic, 50)
134 return newEdgeMeshPtr;
~edgeMeshGeometryModification()
bool modificationActive_
is mofdification active
edgeMeshGeometryModification(const edgeMeshGeometryModification &)
disallow bitwise copy construct
#define forAll(list, i)
Loop across all elements in list.
point modifiedPoint(const point &) const
calculate the modified coordinate of the point
Template functions to aid in the implementation of demand driven data.
const edgeMesh & edgeMesh_
reference to edgeMesh
Ostream & endl(Ostream &os)
Add newline and flush stream.
const edgeMesh * modifyGeometry() const
modify coordinates
void deleteDemandDrivenData(DataPtr &dataPtr)
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const dictionary & meshDict_
length of box sides
Pre-declare SubField and related Field type.
void checkModification()
check existence of geometry modifiers
const pointField & points() const
Return points.
const edgeList & edges() const
Return edges.
const edgeMesh * revertGeometryModification() const
revert geometry modification
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool activeModification() const
is geometry modification active
coordinateModifier * coordinateModifierPtr_
contruct coordinate modification
#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.
Points connected by edges.