Public Member Functions | |
coordinateModifier (const dictionary &) | |
Construct from dictionary. More... | |
~coordinateModifier () | |
point | modifiedPoint (const point &) const |
calculate the modified coordinate of the point More... | |
point | backwardModifiedPoint (const point &) const |
calculate the displacement vector for the backward modification More... | |
void | printObjects () const |
Print modification objects. More... | |
Private Member Functions | |
void | checkForValidInverse () const |
check if the comibination of modifiers has a valid inverse More... | |
Private Attributes | |
const dictionary & | modificationDict_ |
Reference to dictionary. More... | |
coordinateModificationList | modifiers_ |
list of coordinate modification objects More... | |
coordinateModificationList | backwardModifiers_ |
list of backward coordinate modifiers More... | |
Definition at line 54 of file coordinateModifier.H.
coordinateModifier | ( | const dictionary & | geomModDict | ) |
Construct from dictionary.
setup modification
setup backward modification
Definition at line 146 of file coordinateModifier.C.
References coordinateModifier::backwardModifiers_, coordinateModifier::checkForValidInverse(), forAll, coordinateModifier::modificationDict_, coordinateModifier::modifiers_, coordinateModification::New(), PtrList::set(), PtrList::setSize(), List::size(), dictionary::subDict(), dictionary::toc(), and Vector< scalar >::zero.
~coordinateModifier | ( | ) |
Definition at line 187 of file coordinateModifier.C.
|
private |
check if the comibination of modifiers has a valid inverse
the if the modifiers allow combinations
check if the modifications overlap
check if the scaling regions overlap
check if the intervals overlap
Definition at line 32 of file coordinateModifier.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, Foam::mag(), coordinateModifier::modifiers_, plane::normal(), plane::refPoint(), and PtrList::size().
Referenced by coordinateModifier::coordinateModifier().
calculate the modified coordinate of the point
Definition at line 193 of file coordinateModifier.C.
References forAll, coordinateModifier::modifiers_, and p.
Referenced by polyMeshGenGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::modifyGeometry(), and edgeMeshGeometryModification::modifyGeometry().
calculate the displacement vector for the backward modification
Definition at line 205 of file coordinateModifier.C.
References coordinateModifier::backwardModifiers_, forAll, and p.
Referenced by meshOctreeCreator::refineBoxesContainedInObjects(), polyMeshGenGeometryModification::revertGeometryModification(), surfaceMeshGeometryModification::revertGeometryModification(), and edgeMeshGeometryModification::revertGeometryModification().
void printObjects | ( | ) | const |
Print modification objects.
Definition at line 215 of file coordinateModifier.C.
References coordinateModifier::backwardModifiers_, Foam::endl(), Foam::Info, and coordinateModifier::modifiers_.
|
private |
Reference to dictionary.
Definition at line 59 of file coordinateModifier.H.
Referenced by coordinateModifier::coordinateModifier().
|
private |
list of coordinate modification objects
Definition at line 62 of file coordinateModifier.H.
Referenced by coordinateModifier::checkForValidInverse(), coordinateModifier::coordinateModifier(), coordinateModifier::modifiedPoint(), and coordinateModifier::printObjects().
|
private |
list of backward coordinate modifiers
Definition at line 65 of file coordinateModifier.H.
Referenced by coordinateModifier::backwardModifiedPoint(), coordinateModifier::coordinateModifier(), and coordinateModifier::printObjects().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.