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

faceSet Class Reference

A list of face labels. More...

Inheritance diagram for faceSet:
Collaboration diagram for faceSet:

List of all members.


Public Member Functions

 TypeName ("faceSet")
 Runtime type information.
 faceSet (const IOobject &obj)
 Construct from IOobject.
 faceSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
 Construct from objectRegistry and name.
 faceSet (const polyMesh &mesh, const word &name, const label, writeOption w=NO_WRITE)
 Construct from additional size of labelHashSet.
 faceSet (const polyMesh &mesh, const word &name, const labelHashSet &, writeOption w=NO_WRITE)
 Construct from additional labelHashSet.
virtual ~faceSet ()
virtual void sync (const polyMesh &mesh)
 Sync faceSet 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 list of face labels.

Source files

Definition at line 44 of file faceSet.H.


Constructor & Destructor Documentation

faceSet ( const IOobject &  obj  ) 

Construct from IOobject.

Definition at line 41 of file faceSet.C.

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

Construct from objectRegistry and name.

Definition at line 48 of file faceSet.C.

faceSet ( const polyMesh &  mesh,
const word &  name,
const label  size,
writeOption  w = NO_WRITE 
)

Construct from additional size of labelHashSet.

Definition at line 62 of file faceSet.C.

References topoSet::check(), and primitiveMesh::nFaces().

Here is the call graph for this function:

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

Construct from additional labelHashSet.

Definition at line 74 of file faceSet.C.

~faceSet (  )  [virtual]

Definition at line 87 of file faceSet.C.


Member Function Documentation

TypeName ( "faceSet"   ) 

Runtime type information.

void sync ( const polyMesh &  mesh  )  [virtual]

Sync faceSet across coupled patches.

Reimplemented from topoSet.

Definition at line 93 of file faceSet.C.

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

Return max index+1.

Reimplemented from topoSet.

Definition at line 208 of file faceSet.C.

void updateMesh ( const mapPolyMesh &  morphMap  )  [virtual]

Update any stored data for new labels.

Reimplemented from topoSet.

Definition at line 214 of file faceSet.C.

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 221 of file faceSet.C.

References mapPolyMesh::reverseFaceMap(), 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