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

Public Member Functions

 motionSmootherData (const pointMesh &)
 Construct read. More...
 
 motionSmootherData (const pointVectorField &)
 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 47 of file motionSmootherData.H.

Constructor & Destructor Documentation

◆ motionSmootherData() [1/2]

motionSmootherData ( const pointMesh pMesh)

Construct read.

Definition at line 30 of file motionSmootherData.C.

◆ motionSmootherData() [2/2]

motionSmootherData ( const pointVectorField displacement)

Construct from pointDisplacement.

Definition at line 64 of file motionSmootherData.C.

Member Function Documentation

◆ displacement() [1/2]

Foam::pointVectorField & displacement ( )

Reference to displacement field.

Definition at line 100 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 106 of file motionSmootherData.C.

◆ scale()

const Foam::pointScalarField & scale ( ) const

Reference to scale field.

Definition at line 112 of file motionSmootherData.C.

◆ oldPoints()

const Foam::pointField & oldPoints ( ) const

Starting mesh position.

Definition at line 118 of file motionSmootherData.C.

Member Data Documentation

◆ displacement_

pointVectorField displacement_
protected

Displacement field.

Definition at line 54 of file motionSmootherData.H.

◆ scale_

pointScalarField scale_
protected

Scale factor for displacement.

Definition at line 57 of file motionSmootherData.H.

◆ oldPoints_

pointField oldPoints_
protected

Starting mesh position.

Definition at line 60 of file motionSmootherData.H.


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