Go to the documentation of this file.
63 #ifndef lumpedPointState_H
64 #define lumpedPointState_H
87 class lumpedPointState
126 void calcRotations()
const;
157 inline bool valid()
const;
160 inline bool empty()
const;
vectorField pointField
pointField is a vectorField.
void writeDict(Ostream &os) const
Output as dictionary content.
A class for handling file names.
A class for managing temporary objects.
inputFormatType
Input format types.
void operator=(const lumpedPointState &rhs)
Assignment operator.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
void relax(const scalar alpha, const lumpedPointState &prev)
Relax the state.
virtual ~lumpedPointState()
Destructor.
const pointField & points() const
The points corresponding to mass centres.
"plain" is a simple ASCII format
The state of lumped points corresponds to positions and rotations.
void scalePoints(const scalar scaleFactor)
Scale points by given factor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const Enum< inputFormatType > formatNames
Names for the input format types.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const vectorField & angles() const
The orientation of the points (mass centres)
void writePlain(Ostream &os) const
Output as plain content.
eulerOrder
Euler-angle rotation order.
bool readData(Istream &is)
Read input as dictionary content.
bool empty() const
If no points were specified.
bool valid() const
Has positions and consistent number of rotations?
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool writeData(Ostream &os) const
Output as dictionary content.
void writeVTP(const fileName &outputFile, const vector &axis) const
Output as VTK file for debugging/visualization.
const tensorField & rotations() const
The local-to-global transformation for each point.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
lumpedPointState()
Construct null.
label size() const
The number of points.
bool readPlain(Istream &is)
Read input as plain content.
"dictionary" is the OpenFOAM dictionary format