Public Member Functions | |
surfaceMeshGeometryModification (const triSurf &, const dictionary &) | |
Construct from triSurf and dictionary. More... | |
~surfaceMeshGeometryModification () | |
bool | activeModification () const |
is geometry modification active More... | |
const triSurf * | modifyGeometry () const |
modify coordinates More... | |
const triSurf * | revertGeometryModification () const |
revert geometry modification More... | |
Private Member Functions | |
void | checkModification () |
check existence of geometry modifiers More... | |
surfaceMeshGeometryModification (const surfaceMeshGeometryModification &) | |
disallow bitwise copy construct More... | |
void | operator= (const surfaceMeshGeometryModification &) |
disallow bitwise assignment More... | |
Private Attributes | |
const triSurf & | surf_ |
reference to triSurf More... | |
const dictionary & | meshDict_ |
length of box sides More... | |
coordinateModifier * | coordinateModifierPtr_ |
contruct coordinate modification More... | |
bool | modificationActive_ |
is mofdification active More... | |
Definition at line 55 of file surfaceMeshGeometryModification.H.
|
private |
disallow bitwise copy construct
surfaceMeshGeometryModification | ( | const triSurf & | surf, |
const dictionary & | meshDict | ||
) |
Construct from triSurf and dictionary.
Definition at line 52 of file surfaceMeshGeometryModification.C.
Definition at line 65 of file surfaceMeshGeometryModification.C.
References surfaceMeshGeometryModification::coordinateModifierPtr_, and Foam::deleteDemandDrivenData().
|
private |
check existence of geometry modifiers
Definition at line 36 of file surfaceMeshGeometryModification.C.
References surfaceMeshGeometryModification::coordinateModifierPtr_, dictionary::found(), surfaceMeshGeometryModification::meshDict_, surfaceMeshGeometryModification::modificationActive_, and dictionary::subDict().
|
private |
disallow bitwise assignment
bool activeModification | ( | ) | const |
is geometry modification active
Definition at line 72 of file surfaceMeshGeometryModification.C.
References surfaceMeshGeometryModification::modificationActive_.
const triSurf * modifyGeometry | ( | ) | const |
modify coordinates
copy subsets
copy facet subsets
copy point subsets
copy subsets of feature edges
Definition at line 77 of file surfaceMeshGeometryModification.C.
References triSurfFeatureEdges::addEdgeSubset(), triSurfFeatureEdges::addEdgeToSubset(), triSurfFacets::addFacetSubset(), triSurfFacets::addFacetToSubset(), triSurfPoints::addPointSubset(), triSurfPoints::addPointToSubset(), surfaceMeshGeometryModification::coordinateModifierPtr_, triSurfFeatureEdges::edgesInSubset(), triSurfFeatureEdges::edgeSubsetIndices(), triSurfFeatureEdges::edgeSubsetName(), Foam::endl(), triSurfFacets::facets(), triSurfFacets::facetsInSubset(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), triSurfFeatureEdges::featureEdges(), forAll, surfaceMeshGeometryModification::modificationActive_, coordinateModifier::modifiedPoint(), triSurfFacets::patches(), triSurfPoints::points(), triSurfPoints::pointsInSubset(), triSurfPoints::pointSubsetIndices(), triSurfPoints::pointSubsetName(), surfaceMeshGeometryModification::surf_, and WarningIn.
Referenced by cartesian2DMeshGenerator::cartesian2DMeshGenerator(), cartesianMeshGenerator::cartesianMeshGenerator(), meshOctreeCreator::refineBoxesIntersectingSurfaces(), tetMeshGenerator::tetMeshGenerator(), and voronoiMeshGenerator::voronoiMeshGenerator().
const triSurf * revertGeometryModification | ( | ) | const |
revert geometry modification
copy subsets
copy facet subsets
copy point subsets
copy subsets of feature edges
Definition at line 158 of file surfaceMeshGeometryModification.C.
References triSurfFeatureEdges::addEdgeSubset(), triSurfFeatureEdges::addEdgeToSubset(), triSurfFacets::addFacetSubset(), triSurfFacets::addFacetToSubset(), triSurfPoints::addPointSubset(), triSurfPoints::addPointToSubset(), coordinateModifier::backwardModifiedPoint(), surfaceMeshGeometryModification::coordinateModifierPtr_, triSurfFeatureEdges::edgesInSubset(), triSurfFeatureEdges::edgeSubsetIndices(), triSurfFeatureEdges::edgeSubsetName(), Foam::endl(), triSurfFacets::facets(), triSurfFacets::facetsInSubset(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), triSurfFeatureEdges::featureEdges(), forAll, surfaceMeshGeometryModification::modificationActive_, triSurfFacets::patches(), triSurfPoints::points(), triSurfPoints::pointsInSubset(), triSurfPoints::pointSubsetIndices(), triSurfPoints::pointSubsetName(), surfaceMeshGeometryModification::surf_, and WarningIn.
|
private |
reference to triSurf
Definition at line 59 of file surfaceMeshGeometryModification.H.
Referenced by surfaceMeshGeometryModification::modifyGeometry(), and surfaceMeshGeometryModification::revertGeometryModification().
|
private |
length of box sides
Definition at line 62 of file surfaceMeshGeometryModification.H.
Referenced by surfaceMeshGeometryModification::checkModification().
|
private |
contruct coordinate modification
Definition at line 65 of file surfaceMeshGeometryModification.H.
Referenced by surfaceMeshGeometryModification::checkModification(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and surfaceMeshGeometryModification::~surfaceMeshGeometryModification().
|
private |
is mofdification active
Definition at line 68 of file surfaceMeshGeometryModification.H.
Referenced by surfaceMeshGeometryModification::activeModification(), surfaceMeshGeometryModification::checkModification(), surfaceMeshGeometryModification::modifyGeometry(), and surfaceMeshGeometryModification::revertGeometryModification().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.