76 Foam::lumpedPointIOMovement::lumpedPointIOMovement
87 bool ok =
readData(readStream(typeName));
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Ignore writing from objectRegistry::writeObject()
static const word canonicalName
The canonical name ("lumpedPointMovement") for the dictionary.
bool writeData(Ostream &os) const
The writeData member function required by regIOobject.
fileName caseSystem() const
Return the system name for the case, which is ../system() for parallel runs.
defineTypeName(manifoldCellsMeshObject)
label ownerId() const
An owner Id, if needed for bookkeeping purposes.
IO-registered version of lumpedPointMovement.
void close()
Close Istream.
Type * getObjectPtr(const word &name, const bool recursive=false) const
Return non-const pointer to the object of the given Type, using a const-cast to have it behave like a...
const Time & time() const noexcept
Return time registry.
static lumpedPointIOMovement * getMovementObject(const objectRegistry &obr)
Find the movement object or nullptr if not found.
bool readData(Istream &is)
The readData member function used by regIOobject.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
bool isReadRequired() const noexcept
True if (MUST_READ | READ_MODIFIED) bits are set.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool good() const noexcept
True if next operation might succeed.
static autoPtr< lumpedPointIOMovement > New(const objectRegistry &obr, label ownerId=-1)
Create a movement object in the registry by reading system dictionary.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Registry of regIOobjects.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Request registration (bool: true)
The movement driver that describes initial point locations, the current state of the points/rotations...