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

cellSet Class Reference

A collection of cell labels. More...

Inheritance diagram for cellSet:
Collaboration diagram for cellSet:

List of all members.


Public Member Functions

 TypeName ("cellSet")
 Runtime type information.
 cellSet (const IOobject &obj)
 Construct from IOobject. No checking.
 cellSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
 Construct from polyMesh and name. Checks for valid cell ids.
 cellSet (const polyMesh &mesh, const word &name, const label sizes, writeOption w=NO_WRITE)
 Construct empty from size of labelHashSet.
 cellSet (const polyMesh &mesh, const word &name, const labelHashSet &, writeOption w=NO_WRITE)
 Construct from labelHashSet.
 cellSet (const Time &, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
 Construct from objectRegistry and name.
 cellSet (const Time &, const word &name, const label size, writeOption w=NO_WRITE)
 Construct empty from objectRegistry.
 cellSet (const Time &, const word &name, const labelHashSet &, writeOption w=NO_WRITE)
 Construct from labelHashSet.
virtual ~cellSet ()
virtual void sync (const polyMesh &mesh)
 Sync cellSet across coupled patches.
virtual label maxSize (const polyMesh &mesh) const
 Return max index+1.
virtual void updateMesh (const mapPolyMesh &morphMap)
 Update any stored data for new labels.
virtual void writeDebug (Ostream &os, const primitiveMesh &, const label maxLen) const
 Write maxLen items with label and coordinates.

Detailed Description

A collection of cell labels.

Source files

Definition at line 44 of file cellSet.H.


Constructor & Destructor Documentation

cellSet ( const IOobject &  obj  ) 

Construct from IOobject. No checking.

Definition at line 39 of file cellSet.C.

cellSet ( const polyMesh &  mesh,
const word &  name,
readOption  r = MUST_READ,
writeOption  w = NO_WRITE 
)

Construct from polyMesh and name. Checks for valid cell ids.

Definition at line 46 of file cellSet.C.

cellSet ( const polyMesh &  mesh,
const word &  name,
const label  sizes,
writeOption  w = NO_WRITE 
)

Construct empty from size of labelHashSet.

Definition at line 61 of file cellSet.C.

References primitiveMesh::nCells().

Here is the call graph for this function:

cellSet ( const polyMesh &  mesh,
const word &  name,
const labelHashSet &  set,
writeOption  w = NO_WRITE 
)

Construct from labelHashSet.

Definition at line 73 of file cellSet.C.

cellSet ( const Time &  runTime,
const word &  name,
readOption  r = MUST_READ,
writeOption  w = NO_WRITE 
)

Construct from objectRegistry and name.

Definition at line 86 of file cellSet.C.

cellSet ( const Time &  runTime,
const word &  name,
const label  size,
writeOption  w = NO_WRITE 
)

Construct empty from objectRegistry.

Definition at line 110 of file cellSet.C.

cellSet ( const Time &  runTime,
const word &  name,
const labelHashSet &  set,
writeOption  w = NO_WRITE 
)

Construct from labelHashSet.

Definition at line 134 of file cellSet.C.

~cellSet (  )  [virtual]

Definition at line 159 of file cellSet.C.


Member Function Documentation

TypeName ( "cellSet"   ) 

Runtime type information.

virtual void sync ( const polyMesh &  mesh  )  [inline, virtual]

Sync cellSet across coupled patches.

Reimplemented from topoSet.

Definition at line 133 of file cellSet.H.

label maxSize ( const polyMesh &  mesh  )  const [virtual]

Return max index+1.

Reimplemented from topoSet.

Definition at line 165 of file cellSet.C.

void updateMesh ( const mapPolyMesh &  morphMap  )  [virtual]

Update any stored data for new labels.

Reimplemented from topoSet.

Definition at line 171 of file cellSet.C.

References primitiveMesh::nCells().

Here is the call graph for this function:

void writeDebug ( Ostream &  os,
const primitiveMesh &  mesh,
const label  maxLen 
) const [virtual]

Write maxLen items with label and coordinates.

Reimplemented from topoSet.

Definition at line 178 of file cellSet.C.

References mapPolyMesh::reverseCellMap(), and topoSet::updateLabels().

Here is the call graph for this function:


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