A helper class for storing points and faces with IO capabilities. More...
Public Member Functions | |
MeshedSurfaceIOAllocator (const MeshedSurfaceIOAllocator &)=delete | |
No copy construct. More... | |
void | operator= (const MeshedSurfaceIOAllocator &)=delete |
No copy assignment. More... | |
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 ()=default |
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 () noexcept |
Non-const access to the points. More... | |
faceCompactIOList & | storedIOFaces () noexcept |
Non-const access to the faces. More... | |
const pointIOField & | storedIOPoints () const noexcept |
Const access to the points. More... | |
const faceCompactIOList & | storedIOFaces () const noexcept |
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.
|
delete |
No copy construct.
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.
|
virtualdefault |
Destructor.
|
delete |
No copy assignment.
void setInstance | ( | const fileName & | inst | ) |
Set the instance for mesh files.
Definition at line 62 of file MeshedSurfaceIOAllocator.C.
void setWriteOption | ( | IOobjectOption::writeOption | wOpt | ) |
Adjust the write option for all components.
Definition at line 72 of file MeshedSurfaceIOAllocator.C.
Referenced by surfMesh::setWriteOption().
|
inlinenoexcept |
Non-const access to the points.
Definition at line 135 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::storedPoints().
|
inlinenoexcept |
Non-const access to the faces.
Definition at line 143 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::storedFaces().
|
inlinenoexcept |
Const access to the points.
Definition at line 151 of file MeshedSurfaceIOAllocator.H.
|
inlinenoexcept |
Const access to the faces.
Definition at line 159 of file MeshedSurfaceIOAllocator.H.
void clear | ( | ) |
Clear primitive data (points, faces)
Definition at line 81 of file MeshedSurfaceIOAllocator.C.
References List< T >::clear().
|
virtual |
Write using stream options.
Reimplemented in surfMesh.
Definition at line 89 of file MeshedSurfaceIOAllocator.C.