Public Member Functions | Private Member Functions | Private Attributes
coordinateModifier Class Reference
Collaboration diagram for coordinateModifier:
Collaboration graph
[legend]

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 dictionarymodificationDict_
 Reference to dictionary. More...
 
coordinateModificationList modifiers_
 list of coordinate modification objects More...
 
coordinateModificationList backwardModifiers_
 list of backward coordinate modifiers More...
 

Detailed Description

Definition at line 54 of file coordinateModifier.H.

Constructor & Destructor Documentation

◆ coordinateModifier()

coordinateModifier ( const dictionary geomModDict)

◆ ~coordinateModifier()

Definition at line 187 of file coordinateModifier.C.

Member Function Documentation

◆ checkForValidInverse()

void checkForValidInverse ( ) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ modifiedPoint()

point modifiedPoint ( const point p) const

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().

Here is the caller graph for this function:

◆ backwardModifiedPoint()

point backwardModifiedPoint ( const point p) const

◆ printObjects()

void printObjects ( ) const

Print modification objects.

Definition at line 215 of file coordinateModifier.C.

References coordinateModifier::backwardModifiers_, Foam::endl(), Foam::Info, and coordinateModifier::modifiers_.

Here is the call graph for this function:

Field Documentation

◆ modificationDict_

const dictionary& modificationDict_
private

Reference to dictionary.

Definition at line 59 of file coordinateModifier.H.

Referenced by coordinateModifier::coordinateModifier().

◆ modifiers_

coordinateModificationList modifiers_
private

◆ backwardModifiers_

coordinateModificationList backwardModifiers_
private

list of backward coordinate modifiers

Definition at line 65 of file coordinateModifier.H.

Referenced by coordinateModifier::backwardModifiedPoint(), coordinateModifier::coordinateModifier(), and coordinateModifier::printObjects().


The documentation for this class was generated from the following files: