MeshedSurfaceIOAllocator Class Reference

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

Inheritance diagram for MeshedSurfaceIOAllocator:

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...
 

Detailed Description

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

Source files

Definition at line 50 of file MeshedSurfaceIOAllocator.H.

Constructor & Destructor Documentation

◆ MeshedSurfaceIOAllocator() [1/4]

MeshedSurfaceIOAllocator ( const IOobject &  ioPoints,
const IOobject &  ioFaces,
const IOobject &  ioZones 
)

Read construct from IOobjects.

Definition at line 30 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [2/4]

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 43 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [3/4]

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 59 of file MeshedSurfaceIOAllocator.C.

◆ MeshedSurfaceIOAllocator() [4/4]

Disallow default bitwise copy construction.

Member Function Documentation

◆ storedIOPoints() [1/2]

pointIOField& storedIOPoints ( )
inline

Non-const access to the points.

Definition at line 107 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::setInstance(), and surfMesh::storedPoints().

Here is the caller graph for this function:

◆ storedIOFaces() [1/2]

faceCompactIOList& storedIOFaces ( )
inline

Non-const access to the faces.

Definition at line 113 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::setInstance(), and surfMesh::storedFaces().

Here is the caller graph for this function:

◆ storedIOZones() [1/2]

surfZoneIOList& storedIOZones ( )
inline

Non-const access to the zones.

Definition at line 119 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::setInstance(), surfMesh::storedZones(), and surfMesh::surfZones().

Here is the caller graph for this function:

◆ storedIOPoints() [2/2]

const pointIOField& storedIOPoints ( ) const
inline

Const access to the points.

Definition at line 125 of file MeshedSurfaceIOAllocator.H.

◆ storedIOFaces() [2/2]

const faceCompactIOList& storedIOFaces ( ) const
inline

Const access to the faces.

Definition at line 131 of file MeshedSurfaceIOAllocator.H.

◆ storedIOZones() [2/2]

const surfZoneIOList& storedIOZones ( ) const
inline

Const access to the zones.

Definition at line 137 of file MeshedSurfaceIOAllocator.H.

◆ clear()

void clear ( )

Clear primitive data (points, faces and zones)

Definition at line 77 of file MeshedSurfaceIOAllocator.C.

◆ resetFaces()

void resetFaces ( faceList &&  faces,
surfZoneList &&  zones 
)

Reset primitive data (points, faces and zones)

Definition at line 85 of file MeshedSurfaceIOAllocator.C.

References Foam::notNull().

Here is the call graph for this function:

◆ reset() [1/2]

void reset ( pointField &&  points,
faceList &&  faces,
surfZoneList &&  zones 
)

Reset primitive data (points, faces and zones)

Definition at line 103 of file MeshedSurfaceIOAllocator.C.

References Foam::notNull(), and points.

Here is the call graph for this function:

◆ reset() [2/2]

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 121 of file MeshedSurfaceIOAllocator.C.

References Foam::notNull(), and points.

Here is the call graph for this function:

◆ operator=()

void operator= ( const MeshedSurfaceIOAllocator &  )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: