Go to the documentation of this file.
59 coordinateModifierPtr_(NULL),
60 modificationActive_(
false)
83 "const triSurf* surfaceMeshGeometryModification"
84 "::modifyGeometry() const"
85 ) <<
"Modification is not active" <<
endl;
95 # pragma omp parallel for schedule(dynamic, 50)
122 forAll(facetsInSubset, fI)
136 forAll(pointsInSubset, pI)
164 "const triSurf* surfaceMeshGeometryModification"
165 "::revertGeometryModification() const"
166 ) <<
"Modification is not active" <<
endl;
176 # pragma omp parallel for schedule(dynamic, 50)
204 forAll(facetsInSubset, fI)
218 forAll(pointsInSubset, pI)
void pointsInSubset(const label, ListType &) const
surfaceMeshGeometryModification(const surfaceMeshGeometryModification &)
disallow bitwise copy construct
word pointSubsetName(const label) const
label addEdgeSubset(const word &)
point subsets
const dictionary & meshDict_
length of box sides
#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 pointField & points() const
access to points
void edgesInSubset(const label, ListType &) const
const triSurf & surf_
reference to triSurf
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool activeModification() const
is geometry modification active
~surfaceMeshGeometryModification()
void addEdgeToSubset(const label, const label)
label addPointSubset(const word &)
point subsets
const edgeLongList & featureEdges() const
access to feature edges
void deleteDemandDrivenData(DataPtr &dataPtr)
const triSurf * revertGeometryModification() const
revert geometry modification
void addFacetToSubset(const label, const label)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
void addPointToSubset(const label, const label)
void checkModification()
check existence of geometry modifiers
const geometricSurfacePatchList & patches() const
access to patches
label addFacetSubset(const word &)
point subsets
A list of keyword definitions, which are a keyword followed by any number of values (e....
void pointSubsetIndices(DynList< label > &) const
void edgeSubsetIndices(DynList< label > &) const
void facetSubsetIndices(DynList< label > &) const
const triSurf * modifyGeometry() const
modify coordinates
const LongList< labelledTri > & facets() const
access to facets
word facetSubsetName(const label) const
#define WarningIn(functionName)
Report a warning using Foam::Warning.
void facetsInSubset(const label, ListType &) const
word edgeSubsetName(const label) const
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.
coordinateModifier * coordinateModifierPtr_
contruct coordinate modification
bool modificationActive_
is mofdification active