Helper IO class to read and write particle positions. More...
Public Member Functions | |
virtual const word & | type () const |
Runtime type name information. Use cloud type. More... | |
IOPosition (const CloudType &) | |
Construct from cloud. More... | |
virtual void | readData (CloudType &c, bool checkClass) |
virtual bool | write () const |
virtual bool | writeData (Ostream &os) const |
virtual bool | readData (Istream &) |
Inherit readData from regIOobject. More... | |
Private Attributes | |
const CloudType & | cloud_ |
Reference to the cloud. More... | |
Helper IO class to read and write particle positions.
IOPosition | ( | const CloudType & | c | ) |
Construct from cloud.
Definition at line 31 of file IOPosition.C.
|
inlinevirtual |
Runtime type name information. Use cloud type.
Definition at line 65 of file IOPosition.H.
|
virtual |
Definition at line 82 of file IOPosition.C.
References token::BEGIN_LIST, Foam::constant::universal::c, IOstream::check(), token::END_LIST, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isLabel(), token::isPunctuation(), token::labelToken(), mesh, token::pToken(), Istream::putBack(), Istream::readBeginList(), Istream::readEndList(), and s().
Referenced by Cloud< streamLineParticle >::initCloud().
|
virtual |
Definition at line 51 of file IOPosition.C.
References regIOobject::write().
Referenced by parLagrangianRedistributor::redistributeLagrangianPositions(), and particle< Type >::writeFields().
|
virtual |
Definition at line 65 of file IOPosition.C.
References token::BEGIN_LIST, token::END_LIST, Foam::endl(), forAllConstIter(), IOstream::good(), and Foam::nl.
bool readData |
Inherit readData from regIOobject.
Definition at line 165 of file regIOobjectRead.C.
|
private |
Reference to the cloud.
Definition at line 57 of file IOPosition.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.