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. | |
| List< lumpedPointStateTuple > | lumpedPointStates (Istream &is, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false) |
| Load a list of states from an Istream. | |
| List< lumpedPointStateTuple > | lumpedPointStates (const fileName &file, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false) |
| Load a list of states from a file. | |
| pointIOField | points0Field (const polyMesh &mesh) |
| Return the 0 or constant points field. | |
| labelList | lumpedPointPatchList (const pointVectorField &pvf) |
| Return the patch-ids associated with a "lumpedPointDisplacement" type. | |
| labelList | lumpedPointPatchList (const polyMesh &mesh) |
| Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. | |
| label | setPatchControls (const pointVectorField &pvf, const pointField &points0) |
| Return the patch-ids associated with a "lumpedPointDisplacement" type. | |
| 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. | |
| label | setPatchControls (const fvMesh &mesh) |
| Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. | |
| label | setInterpolators (const pointVectorField &pvf, const pointField &points0) |
| Return the patch-ids associated with a "lumpedPointDisplacement" type. | |
| 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. | |
| label | setInterpolators (const fvMesh &mesh) |
| Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type. | |
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 69 of file lumpedPointTools.C.
References dict, quaternion::eulerOrderNames, Foam::Info, and UList< T >::size().
Referenced by lumpedPointStates(), and 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 110 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 123 of file lumpedPointTools.C.
References lumpedPointStates().

| Foam::pointIOField points0Field | ( | const polyMesh & | mesh | ) |
Return the 0 or constant points field.
Definition at line 136 of file lumpedPointTools.C.
References mesh, and points0MotionSolver::points0IO().
Referenced by setInterpolators(), and setPatchControls().


| Foam::labelList lumpedPointPatchList | ( | const pointVectorField & | pvf | ) |
Return the patch-ids associated with a "lumpedPointDisplacement" type.
Definition at line 143 of file lumpedPointTools.C.
References lumpedPointDisplacementPointPatchVectorField::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 149 of file lumpedPointTools.C.
References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), lumpedPointPatchList(), and mesh.

| Foam::label setPatchControls | ( | const pointVectorField & | pvf, |
| const pointField & | points0 ) |
Return the patch-ids associated with a "lumpedPointDisplacement" type.
Definition at line 176 of file lumpedPointTools.C.
References points0(), and lumpedPointDisplacementPointPatchVectorField::setPatchControls().
Referenced by setPatchControls(), and 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 191 of file lumpedPointTools.C.
References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), 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 218 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 229 of file lumpedPointTools.C.
References points0(), and lumpedPointDisplacementPointPatchVectorField::setInterpolators().
Referenced by setInterpolators(), and 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 244 of file lumpedPointTools.C.
References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), 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 271 of file lumpedPointTools.C.
References mesh, points0(), points0Field(), and setInterpolators().
