A collection of utility functions for handling IO related to the lumped-mass movement. More...
A collection of utility functions for handling IO related to the lumped-mass movement.
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().
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().
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().
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().
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().
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.
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().
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().
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().
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().
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().
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().