motionSmootherData Class Reference
Inheritance diagram for motionSmootherData:
[legend]
Collaboration diagram for motionSmootherData:
[legend]

Public Member Functions

 motionSmootherData (const pointMesh &pMesh)
 Construct read. More...
 
 motionSmootherData (const pointVectorField &displacement)
 Construct from pointDisplacement. More...
 
pointVectorField & displacement ()
 Reference to displacement field. More...
 
const pointVectorField & displacement () const
 Reference to displacement field. More...
 
const pointScalarField & scale () const
 Reference to scale field. More...
 
const pointField & oldPoints () 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)
explicit

Construct read.

Definition at line 33 of file motionSmootherData.C.

◆ motionSmootherData() [2/2]

motionSmootherData ( const pointVectorField &  displacement)
explicit

Construct from pointDisplacement.

Definition at line 67 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.

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 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_
protected

Displacement field.

Definition at line 56 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 62 of file motionSmootherData.H.


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