FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

faceSet Class Reference

A list of face labels. More...

#include <meshTools/faceSet.H>


Detailed Description

A list of face labels.

Source files

Definition at line 49 of file faceSet.H.

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 topoSet &, writeOption w=NO_WRITE)
 Construct from existing set.
 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.

Constructor & Destructor Documentation

faceSet ( const IOobject &   obj  )

Construct from IOobject.

Definition at line 50 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 57 of file faceSet.C.

References primitiveMesh::nFaces().

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

Construct from additional size of labelHashSet.

Definition at line 71 of file faceSet.C.

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

Construct from existing set.

Definition at line 83 of file faceSet.C.

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

Construct from additional labelHashSet.

Definition at line 95 of file faceSet.C.

~faceSet (  ) [virtual]

Definition at line 108 of file faceSet.C.


Member Function Documentation

TypeName ( "faceSet"    )

Runtime type information.

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

Return max index+1.

Reimplemented from topoSet.

Reimplemented in faceZoneSet.

Definition at line 229 of file faceSet.C.

References primitiveMesh::nFaces().

void updateMesh ( const mapPolyMesh &   morphMap  ) [virtual]

Update any stored data for new labels.

Reimplemented from topoSet.

Reimplemented in faceZoneSet.

Definition at line 235 of file faceSet.C.

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

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

Write maxLen items with label and coordinates.

Reimplemented from topoSet.

Reimplemented in faceZoneSet.

Definition at line 242 of file faceSet.C.

References primitiveMesh::faceCentres(), and topoSet::writeDebug().

Referenced by faceZoneSet::writeDebug().


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