FreeFOAM The Cross-Platform CFD Toolkit
MeshedSurfaceIOAllocator Class Reference

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

#include <surfMesh/MeshedSurfaceIOAllocator.H>


Detailed Description

A helper class for storing points, faces and zones.

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

Source files

Definition at line 52 of file MeshedSurfaceIOAllocator.H.

+ Inheritance diagram for MeshedSurfaceIOAllocator:

List of all members.

Public Member Functions

 MeshedSurfaceIOAllocator (const IOobject &ioPoints, const IOobject &ioFaces, const IOobject &ioZones)
 Read construct from IOobjects.
 MeshedSurfaceIOAllocator (const IOobject &ioPoints, const pointField &points, const IOobject &ioFaces, const faceList &faces, const IOobject &ioZones, const surfZoneList &zones)
 Construct from IOobjects, copying components.
 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.
pointIOField & storedIOPoints ()
 Non-const access to the points.
faceIOList & storedIOFaces ()
 Non-const access to the faces.
surfZoneIOList & storedIOZones ()
 Non-const access to the zones.
const pointIOField & storedIOPoints () const
 Const access to the points.
const faceIOList & storedIOFaces () const
 Const access to the faces.
const surfZoneIOList & storedIOZones () const
 Const access to the zones.
void clear ()
 Clear primitive data (points, faces and zones)
void resetFaces (const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones)
 Reset primitive data (points, faces and zones)
void reset (const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones)
 Reset primitive data (points, faces and zones)
void reset (const Xfer< List< point > > &points, const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones)
 Reset primitive data (points, faces and zones)

Constructor & Destructor Documentation

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

Read construct from IOobjects.

Definition at line 32 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 45 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 61 of file MeshedSurfaceIOAllocator.C.


Member Function Documentation

pointIOField& storedIOPoints ( )
inline

Non-const access to the points.

Definition at line 117 of file MeshedSurfaceIOAllocator.H.

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

faceIOList& storedIOFaces ( )
inline

Non-const access to the faces.

Definition at line 123 of file MeshedSurfaceIOAllocator.H.

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

surfZoneIOList& storedIOZones ( )
inline

Non-const access to the zones.

Definition at line 129 of file MeshedSurfaceIOAllocator.H.

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

const pointIOField& storedIOPoints ( ) const
inline

Const access to the points.

Definition at line 135 of file MeshedSurfaceIOAllocator.H.

const faceIOList& storedIOFaces ( ) const
inline

Const access to the faces.

Definition at line 141 of file MeshedSurfaceIOAllocator.H.

const surfZoneIOList& storedIOZones ( ) const
inline

Const access to the zones.

Definition at line 147 of file MeshedSurfaceIOAllocator.H.

void clear ( )

Clear primitive data (points, faces and zones)

Definition at line 80 of file MeshedSurfaceIOAllocator.C.

References List< T >::clear().

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

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

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

References points.


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