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 49 of file motionSmootherData.H.

Constructor & Destructor Documentation

◆ motionSmootherData() [1/2]

motionSmootherData ( const pointMesh pMesh)

Construct read.

Definition at line 32 of file motionSmootherData.C.

References Foam::dimless.

◆ motionSmootherData() [2/2]

motionSmootherData ( const pointVectorField displacement)

Construct from pointDisplacement.

Definition at line 66 of file motionSmootherData.C.

Member Function Documentation

◆ displacement() [1/2]

Foam::pointVectorField & displacement ( )

Reference to displacement field.

Definition at line 102 of file motionSmootherData.C.

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 108 of file motionSmootherData.C.

◆ scale()

const Foam::pointScalarField & scale ( ) const

Reference to scale field.

Definition at line 114 of file motionSmootherData.C.

◆ oldPoints()

const Foam::pointField & oldPoints ( ) const

Starting mesh position.

Definition at line 120 of file motionSmootherData.C.

Member Data Documentation

◆ displacement_

pointVectorField displacement_

Displacement field.

Definition at line 56 of file motionSmootherData.H.

◆ scale_

pointScalarField scale_

Scale factor for displacement.

Definition at line 59 of file motionSmootherData.H.

◆ oldPoints_

pointField oldPoints_

Starting mesh position.

Definition at line 62 of file motionSmootherData.H.

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