A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList. More...
Public Member Functions | |
TypeName ("FieldField") | |
CompactIOField (const CompactIOField &)=default | |
CompactIOField (const IOobject &io) | |
CompactIOField (const IOobject &io, const bool valid) | |
CompactIOField (const IOobject &io, const label size) | |
CompactIOField (const IOobject &io, const UList< T > &content) | |
CompactIOField (const IOobject &io, Field< T > &&content) | |
virtual | ~CompactIOField ()=default |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
virtual bool | writeData (Ostream &os) const |
void | operator= (const CompactIOField< T, BaseType > &rhs) |
A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList.
Useful for fields of small subfields e.g. in lagrangian
Definition at line 49 of file CompactIOField.H.
|
default |
|
explicit |
Definition at line 60 of file CompactIOField.C.
References IOobject::MUST_READ, IOobject::READ_IF_PRESENT, and IOobject::readOpt().
CompactIOField | ( | const IOobject & | io, |
const bool | valid | ||
) |
Definition at line 77 of file CompactIOField.C.
References IOobject::MUST_READ, IOobject::READ_IF_PRESENT, and IOobject::readOpt().
CompactIOField | ( | const IOobject & | io, |
const label | size | ||
) |
Definition at line 98 of file CompactIOField.C.
References IOobject::MUST_READ, IOobject::READ_IF_PRESENT, IOobject::readOpt(), and setSize().
CompactIOField | ( | const IOobject & | io, |
const UList< T > & | content | ||
) |
Definition at line 122 of file CompactIOField.C.
References IOobject::MUST_READ, Field::operator=(), IOobject::READ_IF_PRESENT, and IOobject::readOpt().
CompactIOField | ( | const IOobject & | io, |
Field< T > && | content | ||
) |
Definition at line 146 of file CompactIOField.C.
References IOobject::MUST_READ, IOobject::READ_IF_PRESENT, and IOobject::readOpt().
|
virtualdefault |
TypeName | ( | "FieldField" | ) |
|
virtual |
Definition at line 170 of file CompactIOField.C.
References IOstreamOption::ASCII, IOstreamOption::format(), and regIOobject::writeObject().
Definition at line 195 of file CompactIOField.C.
References os().
void operator= | ( | const CompactIOField< T, BaseType > & | rhs | ) |
Definition at line 205 of file CompactIOField.C.
References Field::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.