30 return state0_.empty();
36 return state0_.size();
55 return patchControls_.found(patchIndex);
62 const auto iter = patchControls_.cfind(patchIndex);
64 return (iter.good() && iter().interp_.size());
148 return outputFormat_;
155 return state0().rotationOrder();
161 return state0().degrees();
167 return !patchControls_.empty();
Encapsulates the logic for coordinating between OpenFOAM and an external application.
const word & outputName() const
The output (forces) file name.
bool hasPatchControl(const label patchIndex) const
Check if patch control exists for specified patch.
void scalePoints(lumpedPointState &state) const
Scale the lumped points (on input).
scalar relax() const
The relaxation factor when changing states.
bool degrees() const
Rotation angles in degrees.
const word & logName() const
The log file name.
label size() const
The number of lumped points (number of locations).
lumpedPointMovement::outputFormatType outputFormat() const
The output (forces) file format.
const lumpedPointState & state() const
The current state (positions/rotations).
bool empty() const
If no number of lumped points (locations) were specified.
quaternion::eulerOrder rotationOrder() const
The Euler-angle rotation order.
label ownerId() const
An owner Id, if needed for bookkeeping purposes.
const word & inputName() const
The input (state) file name.
bool hasMapping() const
True if the pressure-zones mapping has already been performed.
outputFormatType
Output format types.
lumpedPointState::inputFormatType inputFormat() const
The input (state) file format.
const externalFileCoupler & coupler() const
Communication control.
const lumpedPointState & state0() const
The initial state (positions/rotations).
bool hasInterpolator(const pointPatch &fpatch) const
Check if patch control exists for specified patch.
const point & origin() const
The offset for lumped points, used on input.
@ LENGTH
The "length" scaling.
The state of lumped points corresponds to positions and rotations.
inputFormatType
Input format types.
eulerOrder
Euler-angle rotation order.
A class for handling words, derived from Foam::string.
vector point
Point is a vector.