39template<
class GeoFieldType>
46 if (
io &&
io->isHeaderClass<GeoFieldType>())
48 Info<<
"Reading " <<
io->headerClassName()
49 <<
' ' <<
io->name() <<
endl;
90 dict.readIfPresent(
"degrees", degrees);
92 Info<<
"Reading states\n";
105 subDict.get<scalar>(
"time"),
120 quaternion::eulerOrder rotOrder,
169 objects0.findObject(
"pointDisplacement")
174 Info<<
"No valid pointDisplacement" <<
endl;
178 return lumpedPointPatchList(*displacePtr);
185 const pointVectorField& pvf,
190 lumpedPointDisplacementPointPatchVectorField::setPatchControls
217 Info<<
"No valid pointDisplacement" <<
endl;
221 return setPatchControls(*displacePtr,
points0);
270 Info<<
"No valid pointDisplacement" <<
endl;
274 return setInterpolators(*displacePtr,
points0);
Input from file stream as an ISstream, normally using std::ifstream for the actual input.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable,...
const IOobject * findObject(const word &objName) const
Return const pointer to the object found by name.
@ MUST_READ
Reading required.
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
static label setPatchControls(const pointVectorField &pvf, const pointField &points0)
Set all patch controls for patches of this type.
static labelList patchIds(const pointVectorField &pvf)
The ids for all patches of this type.
static label setInterpolators(const pointVectorField &pvf, const pointField &points0)
Set all patch controls for patches of this type.
The state of lumped points corresponds to positions and rotations.
Mesh representing a set of points created from polyMesh.
pointMesh Mesh
The mesh type.
static IOobject points0IO(const polyMesh &mesh)
Return IO object for points0.
Mesh consisting of general polyhedral cells.
static const Enum< eulerOrder > eulerOrderNames
The names for Euler-angle and Tait-Bryan angles, including "rollPitchYaw" and "yawPitchRoll" aliases.
eulerOrder
Euler-angle rotation order.
static autoPtr< GeoFieldType > loadPointField(const pointMesh::Mesh &mesh, const IOobject *io)
List< label > labelList
A List of labels.
messageStream Info
Information stream (stdout output on master, null elsewhere).
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
vectorIOField pointIOField
pointIOField is a vectorIOField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
vectorField pointField
pointField is a vectorField.
Tuple2< scalar, lumpedPointState > lumpedPointStateTuple
pointField points0(pointIOField(IOobject("points", mesh.time().constant(), polyMesh::meshSubDir, mesh, IOobject::MUST_READ, IOobject::NO_WRITE, IOobject::NO_REGISTER)))