motionSmootherData Class Reference
Inheritance diagram for motionSmootherData:
Collaboration diagram for motionSmootherData:

Public Member Functions

 motionSmootherData (const pointMesh &pMesh)
 Construct read. More...
 
 motionSmootherData (const pointVectorField &displacement)
 Construct from pointDisplacement. More...
 
pointVectorFielddisplacement ()
 Reference to displacement field. More...
 
const pointVectorFielddisplacement () const
 Reference to displacement field. More...
 
const pointScalarFieldscale () const
 Reference to scale field. More...
 
const pointFieldoldPoints () const
 Starting mesh position. More...
 

Protected Attributes

pointVectorField displacement_
 Displacement field. More...
 
pointScalarField scale_
 Scale factor for displacement. More...
 
pointField oldPoints_
 Starting mesh position. More...
 

Detailed Description

Source files

Definition at line 45 of file motionSmootherData.H.

Constructor & Destructor Documentation

◆ motionSmootherData() [1/2]

motionSmootherData ( const pointMesh pMesh)
explicit

Construct read.

Definition at line 26 of file motionSmootherData.C.

◆ motionSmootherData() [2/2]

motionSmootherData ( const pointVectorField displacement)
explicit

Construct from pointDisplacement.

Definition at line 60 of file motionSmootherData.C.

Member Function Documentation

◆ displacement() [1/2]

Foam::pointVectorField & displacement ( )

Reference to displacement field.

Definition at line 95 of file motionSmootherData.C.

References motionSmootherData::displacement_.

Referenced by snappySnapDriver::doSnap(), snappySnapDriver::scaleMesh(), and snappySnapDriver::smoothDisplacement().

Here is the caller graph for this function:

◆ displacement() [2/2]

const Foam::pointVectorField & displacement ( ) const

Reference to displacement field.

Definition at line 101 of file motionSmootherData.C.

◆ scale()

const Foam::pointScalarField & scale ( ) const

Reference to scale field.

Definition at line 107 of file motionSmootherData.C.

◆ oldPoints()

const Foam::pointField & oldPoints ( ) const

Starting mesh position.

Definition at line 113 of file motionSmootherData.C.

Member Data Documentation

◆ displacement_

pointVectorField displacement_
protected

Displacement field.

Definition at line 54 of file motionSmootherData.H.

Referenced by motionSmootherData::displacement().

◆ scale_

pointScalarField scale_
protected

Scale factor for displacement.

Definition at line 59 of file motionSmootherData.H.

◆ oldPoints_

pointField oldPoints_
protected

Starting mesh position.

Definition at line 64 of file motionSmootherData.H.


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