A helper class for storing points and faces with IO capabilities. More...
#include <MeshedSurfaceIOAllocator.H>

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


Read construct from IOobjects.
Definition at line 26 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 37 of file MeshedSurfaceIOAllocator.C.
References points.
| MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
| pointField && | points, | ||
| const IOobject & | ioFaces, | ||
| faceList && | faces ) |
Construct from IOobjects, moving components.
Definition at line 48 of file MeshedSurfaceIOAllocator.C.
References points.
|
virtualdefault |
Destructor.
|
delete |
No copy assignment.
References MeshedSurfaceIOAllocator(), and points.

| void setInstance | ( | const fileName & | inst | ) |
Set the instance for mesh files.
Definition at line 61 of file MeshedSurfaceIOAllocator.C.
Referenced by surfMesh::setInstance().

| void setWriteOption | ( | IOobjectOption::writeOption | wOpt | ) |
Adjust the write option for all components.
Definition at line 71 of file MeshedSurfaceIOAllocator.C.
Referenced by surfMesh::setWriteOption().

|
inlinenoexcept |
Non-const access to the points.
Definition at line 135 of file MeshedSurfaceIOAllocator.H.
References Foam::noexcept.
Referenced by surfMesh::copySurface(), surfMesh::copySurface(), surfMesh::copySurface(), surfMesh::points(), surfMesh::pointsInstance(), surfMesh::readUpdate(), surfMesh::storedPoints(), surfMesh::surfMesh(), surfMesh::surfMesh(), surfMesh::surfMesh(), and surfMesh::surfMesh().

|
inlinenoexcept |
Non-const access to the faces.
Definition at line 143 of file MeshedSurfaceIOAllocator.H.
References Foam::noexcept.
Referenced by surfMesh::copySurface(), surfMesh::copySurface(), surfMesh::copySurface(), surfMesh::faces(), surfMesh::facesInstance(), surfMesh::storedFaces(), surfMesh::surfMesh(), surfMesh::surfMesh(), surfMesh::surfMesh(), and surfMesh::surfMesh().

|
inlinenoexcept |
Const access to the points.
Definition at line 151 of file MeshedSurfaceIOAllocator.H.
References Foam::noexcept.
|
inlinenoexcept |
Const access to the faces.
Definition at line 159 of file MeshedSurfaceIOAllocator.H.
References Foam::noexcept.
| void clear | ( | ) |
Clear primitive data (points, faces).
Definition at line 81 of file MeshedSurfaceIOAllocator.C.
|
virtual |
Write using stream options.
Reimplemented in surfMesh.
Definition at line 88 of file MeshedSurfaceIOAllocator.C.
Referenced by surfMesh::writeObject().
