displacement Class Referenceabstract

Abstract base class for displacement pointMesh movers. More...

Inheritance diagram for displacement:
Collaboration diagram for displacement:

Public Member Functions

 TypeName ("displacement")
 Runtime type information. More...
 
 displacement (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacement (const displacement &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacement ()
 Destructor. More...
 
pointVectorField & pointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorField & pointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
virtual tmp< pointField > newPoints ()=0
 Return point location obtained from the current motion field. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map (not implemented) More...
 
void operator= (const displacement &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementPoints0
 TypeName ("displacementPoints0")
 Runtime type information. More...
 
 displacementPoints0 (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementPoints0 (const displacementPoints0 &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementPoints0 ()
 Destructor. More...
 
pointField & points0 ()
 Return reference to the reference field. More...
 
const pointField & points0 () const
 Return reference to the reference field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update local data for topology changes. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
virtual bool write () const
 Write points0 if the mesh topology changed. More...
 
void operator= (const displacementPoints0 &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from pointMeshMover
 TypeName ("pointMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pointMeshMover, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 pointMeshMover (const polyMesh &mesh, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< pointMeshMover > clone () const
 Clone function. More...
 
virtual ~pointMeshMover ()
 Destructor. More...
 
const polyMesh & poly () const
 Return reference to mesh. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 
virtual bool solidBodyMotion () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 

Protected Member Functions

tmp< pointField > points () const
 Return the points corresponding to the current displacement. More...
 

Protected Attributes

pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from displacementPoints0
pointVectorField points0_
 Starting points. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementPoints0
static pointVectorField readPoints0 (const polyMesh &mesh)
 
- Static Public Member Functions inherited from pointMeshMover
static autoPtr< pointMeshMover > New (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Abstract base class for displacement pointMesh movers.

The boundary displacement is set as a boundary condition on the pointDisplacement pointVectorField.

Source files

Definition at line 53 of file displacement_pointMeshMover.H.

Constructor & Destructor Documentation

◆ displacement() [1/2]

displacement ( const polyMesh &  mesh,
const dictionary &  dict,
const word &  type 
)

Construct from mesh and dictionary.

Definition at line 50 of file displacement_pointMeshMover.C.

◆ displacement() [2/2]

displacement ( const displacement &  )
delete

Disallow default bitwise copy construction.

◆ ~displacement()

~displacement ( )
virtual

Destructor.

Definition at line 76 of file displacement_pointMeshMover.C.

Member Function Documentation

◆ points()

Foam::tmp< Foam::pointField > points ( ) const
protected

Return the points corresponding to the current displacement.

Definition at line 42 of file displacement_pointMeshMover.C.

References displacement::pointDisplacement_, displacementPoints0::points0(), and GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "displacement"  )

Runtime type information.

◆ pointDisplacement() [1/2]

pointVectorField& pointDisplacement ( )
inline

Return reference to the point motion displacement field.

Definition at line 95 of file displacement_pointMeshMover.H.

References displacement::pointDisplacement_.

◆ pointDisplacement() [2/2]

const pointVectorField& pointDisplacement ( ) const
inline

Return const reference to the point motion displacement field.

Definition at line 101 of file displacement_pointMeshMover.H.

References displacement::pointDisplacement_.

◆ newPoints()

virtual tmp<pointField> newPoints ( )
pure virtual

Return point location obtained from the current motion field.

Implements pointMeshMover.

Implemented in layeredDisplacement, externalDisplacement, displacementSBRStress, and displacementLaplacian.

◆ mapMesh()

void mapMesh ( const polyMeshMap &  map)
virtual

Update from another mesh using the given map (not implemented)

Implements displacementPoints0.

Reimplemented in layeredDisplacement, displacementSBRStress, and displacementLaplacian.

Definition at line 82 of file displacement_pointMeshMover.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.

Referenced by displacementLaplacian::mapMesh(), and displacementSBRStress::mapMesh().

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

◆ operator=()

void operator= ( const displacement &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ pointDisplacement_

pointVectorField pointDisplacement_
mutableprotected

Point motion field.

Definition at line 62 of file displacement_pointMeshMover.H.

Referenced by displacement::pointDisplacement(), and displacement::points().


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