Foam::lumpedPointTools Namespace Reference

A collection of utility functions for handling IO related to the lumped-mass movement. More...

Functions

List< lumpedPointStateTuplelumpedPointStates (const dictionary &dict, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from a dictionary. More...
 
List< lumpedPointStateTuplelumpedPointStates (Istream &is, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from an Istream. More...
 
List< lumpedPointStateTuplelumpedPointStates (const fileName &file, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from a file. More...
 
pointIOField points0Field (const polyMesh &mesh)
 Return the 0 or constant points field. More...
 
labelList lumpedPointPatchList (const pointVectorField &pvf)
 Return the patch-ids associated with a "lumpedPointDisplacement" type. More...
 
labelList lumpedPointPatchList (const polyMesh &mesh)
 
label setPatchControls (const pointVectorField &pvf, const pointField &points0)
 Return the patch-ids associated with a "lumpedPointDisplacement" type. More...
 
label setPatchControls (const fvMesh &mesh, const pointField &points0)
 
label setPatchControls (const fvMesh &mesh)
 
label setInterpolators (const pointVectorField &pvf, const pointField &points0)
 Return the patch-ids associated with a "lumpedPointDisplacement" type. More...
 
label setInterpolators (const fvMesh &mesh, const pointField &points0)
 
label setInterpolators (const fvMesh &mesh)
 

Detailed Description

A collection of utility functions for handling IO related to the lumped-mass movement.

Source files

Function Documentation

◆ lumpedPointStates() [1/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( const dictionary dict,
quaternion::eulerOrder  rotOrder = quaternion::eulerOrder::ZXZ,
bool  degrees = false 
)

Load a list of states from a dictionary.

Definition at line 74 of file lumpedPointTools.C.

References DynamicList< T, SizeMin >::append(), dict, Foam::Info, DynamicList< T, SizeMin >::shrink(), and UList< T >::size().

Referenced by lumpedPointStates().

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

◆ lumpedPointStates() [2/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( Istream is,
quaternion::eulerOrder  rotOrder = quaternion::eulerOrder::ZXZ,
bool  degrees = false 
)

Load a list of states from an Istream.

Definition at line 112 of file lumpedPointTools.C.

References dict, and lumpedPointStates().

Here is the call graph for this function:

◆ lumpedPointStates() [3/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( const fileName file,
quaternion::eulerOrder  rotOrder = quaternion::eulerOrder::ZXZ,
bool  degrees = false 
)

Load a list of states from a file.

Definition at line 125 of file lumpedPointTools.C.

References lumpedPointStates().

Here is the call graph for this function:

◆ points0Field()

Foam::pointIOField points0Field ( const polyMesh mesh)

Return the 0 or constant points field.

Definition at line 138 of file lumpedPointTools.C.

References mesh.

Referenced by setInterpolators(), and setPatchControls().

Here is the caller graph for this function:

◆ lumpedPointPatchList() [1/2]

Foam::labelList lumpedPointPatchList ( const pointVectorField pvf)

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 145 of file lumpedPointTools.C.

Referenced by lumpedPointPatchList().

Here is the caller graph for this function:

◆ lumpedPointPatchList() [2/2]

Foam::labelList lumpedPointPatchList ( const polyMesh mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type

Definition at line 151 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, lumpedPointPatchList(), and mesh.

Here is the call graph for this function:

◆ setPatchControls() [1/3]

Foam::label setPatchControls ( const pointVectorField pvf,
const pointField points0 
)

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 178 of file lumpedPointTools.C.

References points0().

Referenced by setPatchControls().

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

◆ setPatchControls() [2/3]

Foam::label setPatchControls ( const fvMesh mesh,
const pointField points0 
)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type

Definition at line 193 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, mesh, points0(), and setPatchControls().

Here is the call graph for this function:

◆ setPatchControls() [3/3]

Foam::label setPatchControls ( const fvMesh mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type

Definition at line 220 of file lumpedPointTools.C.

References mesh, points0(), points0Field(), and setPatchControls().

Here is the call graph for this function:

◆ setInterpolators() [1/3]

Foam::label setInterpolators ( const pointVectorField pvf,
const pointField points0 
)

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 231 of file lumpedPointTools.C.

References points0().

Referenced by setInterpolators().

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

◆ setInterpolators() [2/3]

Foam::label setInterpolators ( const fvMesh mesh,
const pointField points0 
)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type

Definition at line 246 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, mesh, points0(), and setInterpolators().

Here is the call graph for this function:

◆ setInterpolators() [3/3]

Foam::label setInterpolators ( const fvMesh mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type

Definition at line 273 of file lumpedPointTools.C.

References mesh, points0(), points0Field(), and setInterpolators().

Here is the call graph for this function: