A helper class for storing points, faces and zones with IO capabilities. More...
Public Member Functions | |
MeshedSurfaceIOAllocator (const IOobject &ioPoints, const IOobject &ioFaces, const IOobject &ioZones) | |
Read construct from IOobjects. More... | |
MeshedSurfaceIOAllocator (const IOobject &ioPoints, const pointField &points, const IOobject &ioFaces, const faceList &faces, const IOobject &ioZones, const surfZoneList &zones) | |
Construct from IOobjects, copying components. More... | |
MeshedSurfaceIOAllocator (const IOobject &ioPoints, pointField &&points, const IOobject &ioFaces, faceList &&faces, const IOobject &ioZones, surfZoneList &&zones) | |
Construct from IOobjects, possibly transferring components. More... | |
MeshedSurfaceIOAllocator (const MeshedSurfaceIOAllocator &)=delete | |
Disallow default bitwise copy construction. More... | |
pointIOField & | storedIOPoints () |
Non-const access to the points. More... | |
faceCompactIOList & | storedIOFaces () |
Non-const access to the faces. More... | |
surfZoneIOList & | storedIOZones () |
Non-const access to the zones. More... | |
const pointIOField & | storedIOPoints () const |
Const access to the points. More... | |
const faceCompactIOList & | storedIOFaces () const |
Const access to the faces. More... | |
const surfZoneIOList & | storedIOZones () const |
Const access to the zones. More... | |
void | clear () |
Clear primitive data (points, faces and zones) More... | |
void | resetFaces (faceList &&faces, surfZoneList &&zones) |
Reset primitive data (points, faces and zones) More... | |
void | reset (pointField &&points, faceList &&faces, surfZoneList &&zones) |
Reset primitive data (points, faces and zones) More... | |
void | reset (List< point > &&points, faceList &&faces, surfZoneList &&zones) |
Reset primitive data (points, faces and zones) More... | |
void | operator= (const MeshedSurfaceIOAllocator &)=delete |
Disallow default bitwise assignment. More... | |
A helper class for storing points, faces and zones with IO capabilities.
Definition at line 50 of file MeshedSurfaceIOAllocator.H.
MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
const IOobject & | ioFaces, | ||
const IOobject & | ioZones | ||
) |
Read construct from IOobjects.
Definition at line 31 of file MeshedSurfaceIOAllocator.C.
Referenced by MeshedSurfaceIOAllocator::MeshedSurfaceIOAllocator().
MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
const pointField & | points, | ||
const IOobject & | ioFaces, | ||
const faceList & | faces, | ||
const IOobject & | ioZones, | ||
const surfZoneList & | zones | ||
) |
Construct from IOobjects, copying components.
Definition at line 44 of file MeshedSurfaceIOAllocator.C.
References MeshedSurfaceIOAllocator::MeshedSurfaceIOAllocator().
MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
pointField && | points, | ||
const IOobject & | ioFaces, | ||
faceList && | faces, | ||
const IOobject & | ioZones, | ||
surfZoneList && | zones | ||
) |
Construct from IOobjects, possibly transferring components.
Definition at line 60 of file MeshedSurfaceIOAllocator.C.
|
delete |
Disallow default bitwise copy construction.
|
inline |
Non-const access to the points.
Definition at line 107 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::points(), surfMesh::pointsInstance(), surfMesh::readUpdate(), surfMesh::setInstance(), surfMesh::storedPoints(), and surfMesh::transfer().
|
inline |
Non-const access to the faces.
Definition at line 113 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::faces(), surfMesh::facesInstance(), surfMesh::setInstance(), surfMesh::storedFaces(), and surfMesh::transfer().
|
inline |
Non-const access to the zones.
Definition at line 119 of file MeshedSurfaceIOAllocator.H.
Referenced by surfMesh::addZones(), surfMesh::checkZones(), surfMesh::readUpdate(), surfMesh::setInstance(), surfMesh::storedZones(), surfMesh::surfZones(), and surfMesh::transfer().
|
inline |
Const access to the points.
Definition at line 125 of file MeshedSurfaceIOAllocator.H.
|
inline |
Const access to the faces.
Definition at line 131 of file MeshedSurfaceIOAllocator.H.
|
inline |
Const access to the zones.
Definition at line 137 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::clear(), MeshedSurfaceIOAllocator::operator=(), MeshedSurfaceIOAllocator::reset(), and MeshedSurfaceIOAllocator::resetFaces().
void clear | ( | ) |
Clear primitive data (points, faces and zones)
Definition at line 77 of file MeshedSurfaceIOAllocator.C.
References List< T >::clear(), and MeshedSurfaceIOAllocator::resetFaces().
Referenced by MeshedSurfaceIOAllocator::storedIOZones().
void resetFaces | ( | faceList && | faces, |
surfZoneList && | zones | ||
) |
Reset primitive data (points, faces and zones)
Definition at line 86 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull(), MeshedSurfaceIOAllocator::reset(), and List< T >::transfer().
Referenced by MeshedSurfaceIOAllocator::clear(), MeshedSurfaceIOAllocator::reset(), and MeshedSurfaceIOAllocator::storedIOZones().
void reset | ( | pointField && | points, |
faceList && | faces, | ||
surfZoneList && | zones | ||
) |
Reset primitive data (points, faces and zones)
Definition at line 104 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull(), MeshedSurfaceIOAllocator::resetFaces(), and List< T >::transfer().
Referenced by MeshedSurfaceIOAllocator::resetFaces(), surfMesh::resetPrimitives(), and MeshedSurfaceIOAllocator::storedIOZones().
void reset | ( | List< point > && | points, |
faceList && | faces, | ||
surfZoneList && | zones | ||
) |
Reset primitive data (points, faces and zones)
Note, optimised to avoid overwriting data (with null)
Definition at line 122 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull(), MeshedSurfaceIOAllocator::resetFaces(), and List< T >::transfer().
|
delete |
Disallow default bitwise assignment.
Referenced by MeshedSurfaceIOAllocator::storedIOZones().