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, const Xfer< pointField > &points, const IOobject &ioFaces, const Xfer< faceList > &faces, const IOobject &ioZones, const Xfer< surfZoneList > &zones) | |
Construct from IOobjects, possibly transferring components. 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 (const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones) |
Reset primitive data (points, faces and zones) More... | |
void | reset (const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones) |
Reset primitive data (points, faces and zones) More... | |
void | reset (const Xfer< List< point > > &points, const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones) |
Reset primitive data (points, faces and zones) More... | |
Private Member Functions | |
MeshedSurfaceIOAllocator (const MeshedSurfaceIOAllocator &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const MeshedSurfaceIOAllocator &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
pointIOField | points_ |
Points. More... | |
faceCompactIOList | faces_ |
Faces. More... | |
surfZoneIOList | zones_ |
Surface zones. More... | |
A helper class for storing points, faces and zones with IO capabilities.
Definition at line 50 of file MeshedSurfaceIOAllocator.H.
|
private |
Disallow default bitwise copy construct.
MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
const IOobject & | ioFaces, | ||
const IOobject & | ioZones | ||
) |
Read construct from IOobjects.
Definition at line 31 of file MeshedSurfaceIOAllocator.C.
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.
MeshedSurfaceIOAllocator | ( | const IOobject & | ioPoints, |
const Xfer< pointField > & | points, | ||
const IOobject & | ioFaces, | ||
const Xfer< faceList > & | faces, | ||
const IOobject & | ioZones, | ||
const Xfer< surfZoneList > & | zones | ||
) |
Construct from IOobjects, possibly transferring components.
Definition at line 60 of file MeshedSurfaceIOAllocator.C.
|
private |
Disallow default bitwise assignment.
|
inline |
Non-const access to the points.
Definition at line 113 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::points_.
Referenced by surfMesh::setInstance(), and surfMesh::storedPoints().
|
inline |
Non-const access to the faces.
Definition at line 119 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::faces_.
Referenced by surfMesh::setInstance(), and surfMesh::storedFaces().
|
inline |
Non-const access to the zones.
Definition at line 125 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::zones_.
Referenced by surfMesh::setInstance(), surfMesh::storedZones(), and surfMesh::surfZones().
|
inline |
Const access to the points.
Definition at line 131 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::points_.
|
inline |
Const access to the faces.
Definition at line 137 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::faces_.
|
inline |
Const access to the zones.
Definition at line 143 of file MeshedSurfaceIOAllocator.H.
References MeshedSurfaceIOAllocator::zones_.
void clear | ( | ) |
Clear primitive data (points, faces and zones)
Definition at line 77 of file MeshedSurfaceIOAllocator.C.
References List::clear(), MeshedSurfaceIOAllocator::faces_, MeshedSurfaceIOAllocator::points_, and MeshedSurfaceIOAllocator::zones_.
void resetFaces | ( | const Xfer< faceList > & | faces, |
const Xfer< surfZoneList > & | zones | ||
) |
Reset primitive data (points, faces and zones)
Note, optimized to avoid overwriting data (with Xfer::null)
Definition at line 86 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull().
void reset | ( | const Xfer< pointField > & | points, |
const Xfer< faceList > & | faces, | ||
const Xfer< surfZoneList > & | zones | ||
) |
Reset primitive data (points, faces and zones)
Note, optimized to avoid overwriting data (with Xfer::null)
Definition at line 104 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull(), and points.
void reset | ( | const Xfer< List< point > > & | points, |
const Xfer< faceList > & | faces, | ||
const Xfer< surfZoneList > & | zones | ||
) |
Reset primitive data (points, faces and zones)
Note, optimized to avoid overwriting data (with Xfer::null)
Definition at line 122 of file MeshedSurfaceIOAllocator.C.
References Foam::notNull(), and points.
|
private |
Points.
Definition at line 55 of file MeshedSurfaceIOAllocator.H.
Referenced by MeshedSurfaceIOAllocator::clear(), and MeshedSurfaceIOAllocator::storedIOPoints().
|
private |
Faces.
Definition at line 58 of file MeshedSurfaceIOAllocator.H.
Referenced by MeshedSurfaceIOAllocator::clear(), and MeshedSurfaceIOAllocator::storedIOFaces().
|
private |
Surface zones.
Definition at line 61 of file MeshedSurfaceIOAllocator.H.
Referenced by MeshedSurfaceIOAllocator::clear(), and MeshedSurfaceIOAllocator::storedIOZones().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.