A collection of utility functions for handling IO related to the lumped-mass movement. More...
Functions | |
List< lumpedPointStateTuple > | lumpedPointStates (Istream &is) |
Load a list of states from an Istream. More... | |
List< lumpedPointStateTuple > | lumpedPointStates (const fileName &file) |
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 a "lumpedPointDisplacement" type. More... | |
labelList | lumpedPointPatchList (const polyMesh &mesh) |
Get the "pointDisplacement" at time 0 and use that to determine which. More... | |
A collection of utility functions for handling IO related to the lumped-mass movement.
Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates | ( | Istream & | is | ) |
Load a list of states from an Istream.
Definition at line 75 of file lumpedPointTools.C.
References DynamicList< T, SizeMin >::append(), dict, and dictionary::lookup().
Referenced by lumpedPointStates().
Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates | ( | const fileName & | file | ) |
Load a list of states from a file.
Definition at line 99 of file lumpedPointTools.C.
References lumpedPointStates().
Foam::pointIOField points0Field | ( | const polyMesh & | mesh | ) |
Return the 0 or constant points field.
Definition at line 107 of file lumpedPointTools.C.
References mesh.
Foam::labelList lumpedPointPatchList | ( | const pointVectorField & | pvf | ) |
Return the patch-ids associated a "lumpedPointDisplacement" type.
Definition at line 129 of file lumpedPointTools.C.
References patchIds.
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 136 of file lumpedPointTools.C.
References Foam::endl(), IOobjectList::findObject(), Foam::Info, lumpedPointPatchList(), mesh, and autoPtr< T >::valid().