A helper class for storing points and faces with IO capabilities. More...

Public Member Functions | |
| MeshedSurfaceIOAllocator (const IOobject &ioPoints, const IOobject &ioFaces) | |
| Read construct from IOobjects. More... | |
| MeshedSurfaceIOAllocator (const IOobject &ioPoints, const pointField &points, const IOobject &ioFaces, const faceList &faces) | |
| Construct from IOobjects, copying components. More... | |
| MeshedSurfaceIOAllocator (const IOobject &ioPoints, pointField &&points, const IOobject &ioFaces, faceList &&faces) | |
| Construct from IOobjects, moving components. More... | |
| virtual | ~MeshedSurfaceIOAllocator () |
| Destructor. More... | |
| void | setInstance (const fileName &inst) |
| Set the instance for mesh files. More... | |
| void | setWriteOption (IOobjectOption::writeOption wOpt) |
| Adjust the write option for all components. More... | |
| pointIOField & | storedIOPoints () |
| Non-const access to the points. More... | |
| faceCompactIOList & | storedIOFaces () |
| Non-const access to the faces. More... | |
| const pointIOField & | storedIOPoints () const |
| Const access to the points. More... | |
| const faceCompactIOList & | storedIOFaces () const |
| Const access to the faces. More... | |
| void | clear () |
| Clear primitive data (points, faces) More... | |
| virtual bool | writeObject (IOstreamOption streamOpt, const bool writeOnProc) const |
| Write using stream options. More... | |
A helper class for storing points and faces with IO capabilities.
Definition at line 50 of file MeshedSurfaceIOAllocator.H.
| MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
| const IOobject & | ioFaces | ||
| ) |
Read construct from IOobjects.
Definition at line 27 of file MeshedSurfaceIOAllocator.C.
| MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
| const pointField & | points, | ||
| const IOobject & | ioFaces, | ||
| const faceList & | faces | ||
| ) |
Construct from IOobjects, copying components.
Definition at line 38 of file MeshedSurfaceIOAllocator.C.
| MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
| pointField && | points, | ||
| const IOobject & | ioFaces, | ||
| faceList && | faces | ||
| ) |
Construct from IOobjects, moving components.
Definition at line 49 of file MeshedSurfaceIOAllocator.C.
|
virtual |
Destructor.
Definition at line 61 of file MeshedSurfaceIOAllocator.C.
References MeshedSurfaceIOAllocator::clear().

| void setInstance | ( | const fileName & | inst | ) |
Set the instance for mesh files.
Definition at line 70 of file MeshedSurfaceIOAllocator.C.
| void setWriteOption | ( | IOobjectOption::writeOption | wOpt | ) |
Adjust the write option for all components.
Definition at line 80 of file MeshedSurfaceIOAllocator.C.
Referenced by surfMesh::setWriteOption().

|
inline |
Non-const access to the points.
Definition at line 136 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::storedPoints().

|
inline |
Non-const access to the faces.
Definition at line 144 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::storedFaces().

|
inline |
Const access to the points.
Definition at line 152 of file MeshedSurfaceIOAllocator.H.
|
inline |
Const access to the faces.
Definition at line 160 of file MeshedSurfaceIOAllocator.H.
| void clear | ( | ) |
Clear primitive data (points, faces)
Definition at line 89 of file MeshedSurfaceIOAllocator.C.
Referenced by MeshedSurfaceIOAllocator::~MeshedSurfaceIOAllocator().

|
virtual |
Write using stream options.
Reimplemented in surfMesh.
Definition at line 97 of file MeshedSurfaceIOAllocator.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.