A collection of utility functions for handling IO related to the lumped-mass movement. More...
Functions | |
List< lumpedPointStateTuple > | lumpedPointStates (const dictionary &dict, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false) |
Load a list of states from a dictionary. More... | |
List< lumpedPointStateTuple > | lumpedPointStates (Istream &is, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false) |
Load a list of states from an Istream. More... | |
List< lumpedPointStateTuple > | lumpedPointStates (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) |
Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. More... | |
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) |
Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. More... | |
label | setPatchControls (const fvMesh &mesh) |
Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. More... | |
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) |
Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. More... | |
label | setInterpolators (const fvMesh &mesh) |
Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. 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 70 of file lumpedPointTools.C.
References DynamicList< T, SizeMin >::append(), dict, and Foam::Info.
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 108 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 121 of file lumpedPointTools.C.
References lumpedPointStates().
Foam::pointIOField points0Field | ( | const polyMesh & | mesh | ) |
Return the 0 or constant points field.
Definition at line 133 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 140 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 147 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 174 of file lumpedPointTools.C.
References points0().
Referenced by setPatchControls(), and lumpedPointDisplacementPointPatchVectorField::updateCoeffs().
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 189 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 216 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 227 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 242 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 269 of file lumpedPointTools.C.
References mesh, points0(), points0Field(), and setInterpolators().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.