Helper IO class to read and write particle coordinates (positions). More...
Public Member Functions | |
virtual const word & | type () const |
Runtime type name information. Use cloud type. More... | |
IOPosition (const CloudType &c, cloud::geometryType geomType=cloud::geometryType::COORDINATES) | |
Construct from cloud. More... | |
virtual void | readData (Istream &, CloudType &) |
virtual bool | write (const bool valid=true) const |
virtual bool | writeData (Ostream &os) const |
virtual bool | readData (Istream &) |
Inherit readData from regIOobject. More... | |
Helper IO class to read and write particle coordinates (positions).
IOPosition | ( | const CloudType & | c, |
cloud::geometryType | geomType = cloud::geometryType::COORDINATES |
||
) |
Construct from cloud.
Definition at line 33 of file IOPosition.C.
|
inlinevirtual |
Runtime type name information. Use cloud type.
Definition at line 70 of file IOPosition.H.
Definition at line 97 of file IOPosition.C.
References Foam::constant::universal::c, IOstream::check(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FUNCTION_NAME, token::info(), token::isLabel(), token::isPunctuation(), token::labelToken(), mesh, token::pToken(), Istream::putBack(), Istream::readBeginList(), Istream::readEndList(), and s.
Definition at line 57 of file IOPosition.C.
References Foam::vtk::write().
Referenced by particle< Type >::writeFields().
Definition at line 64 of file IOPosition.C.
References Foam::endl(), forAllConstIters(), IOstream::good(), and Foam::nl.
bool readData |
Inherit readData from regIOobject.
Definition at line 196 of file regIOobjectRead.C.