OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

MeshedSurfaceIOAllocator Class Reference

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

Inheritance diagram for MeshedSurfaceIOAllocator:
Collaboration 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).

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 47 of file MeshedSurfaceIOAllocator.H.


Constructor & Destructor Documentation

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

Read construct from IOobjects.

Definition at line 24 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 37 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 53 of file MeshedSurfaceIOAllocator.C.


Member Function Documentation

pointIOField& storedIOPoints (  )  [inline]

Non-const access to the points.

Definition at line 112 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::setInstance().

Here is the caller graph for this function:

faceIOList& storedIOFaces (  )  [inline]

Non-const access to the faces.

Definition at line 118 of file MeshedSurfaceIOAllocator.H.

surfZoneIOList& storedIOZones (  )  [inline]

Non-const access to the zones.

Definition at line 124 of file MeshedSurfaceIOAllocator.H.

Referenced by surfMesh::surfZones().

Here is the caller graph for this function:

const pointIOField& storedIOPoints (  )  const [inline]

Const access to the points.

Definition at line 130 of file MeshedSurfaceIOAllocator.H.

const faceIOList& storedIOFaces (  )  const [inline]

Const access to the faces.

Definition at line 136 of file MeshedSurfaceIOAllocator.H.

const surfZoneIOList& storedIOZones (  )  const [inline]

Const access to the zones.

Definition at line 142 of file MeshedSurfaceIOAllocator.H.

void clear (  ) 

Clear primitive data (points, faces and zones).

Definition at line 72 of file MeshedSurfaceIOAllocator.C.

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)

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

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

References points.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd