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

faceZoneSet Class Reference

Like faceSet but updates faceZone when writing. More...

#include <meshTools/faceZoneSet.H>


Detailed Description

Like faceSet but updates faceZone when writing.

Source files

Definition at line 50 of file faceZoneSet.H.

Inheritance diagram for faceZoneSet:
Collaboration diagram for faceZoneSet:

List of all members.

Public Member Functions

 TypeName ("faceZoneSet")
 Runtime type information.
 faceZoneSet (const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
 Construct from objectRegistry and name.
 faceZoneSet (const polyMesh &mesh, const word &name, const label, writeOption w=NO_WRITE)
 Construct from additional size of labelHashSet.
 faceZoneSet (const polyMesh &mesh, const word &name, const topoSet &, writeOption w=NO_WRITE)
 Construct from existing set.
virtual  ~faceZoneSet ()
const labelList &  addressing () const
labelList &  addressing ()
const boolList &  flipMap () const
boolList &  flipMap ()
void  updateSet ()
 Sort addressing and make faceSet part consistent with addressing.
virtual void  invert (const label maxLen)
 Invert contents. (insert all members 0..maxLen-1 which were not in.
virtual void  subset (const topoSet &set)
 Subset contents. Only elements present in both sets remain.
virtual void  addSet (const topoSet &set)
 Add elements present in set.
virtual void  deleteSet (const topoSet &set)
 Delete elements present in set.
virtual void  sync (const polyMesh &mesh)
 Sync faceZoneSet across coupled patches.
virtual void  writeDebug (Ostream &os, const primitiveMesh &, const label maxLen) const
 Write maxLen items with label and coordinates.
virtual bool  writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
 Write faceZone.
virtual void  updateMesh (const mapPolyMesh &morphMap)
 Update any stored data for new labels.
virtual label  maxSize (const polyMesh &mesh) const
 Return max index+1.

Constructor & Destructor Documentation

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

Construct from additional size of labelHashSet.

Definition at line 102 of file faceZoneSet.C.

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

Construct from existing set.

Definition at line 119 of file faceZoneSet.C.

~faceZoneSet (  ) [virtual]

Definition at line 137 of file faceZoneSet.C.


Member Function Documentation

TypeName ( "faceZoneSet"    )

Runtime type information.

labelList& addressing (  ) [inline]

Definition at line 114 of file faceZoneSet.H.

boolList& flipMap (  ) [inline]

Definition at line 125 of file faceZoneSet.H.

void invert ( const label   maxLen  ) [virtual]

Invert contents. (insert all members 0..maxLen-1 which were not in.

set)

Reimplemented from topoSet.

Definition at line 143 of file faceZoneSet.C.

References HashTable< nil, label, Hash< label > >::found(), List< T >::setSize(), and faceZoneSet::updateSet().

void subset ( const topoSet &   set  ) [virtual]
void deleteSet ( const topoSet &   set  ) [virtual]
void sync ( const polyMesh &   mesh  ) [virtual]

Sync faceZoneSet across coupled patches.

Reimplemented from faceSet.

Definition at line 313 of file faceZoneSet.C.

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

Write maxLen items with label and coordinates.

Reimplemented from faceSet.

Definition at line 398 of file faceZoneSet.C.

References faceSet::writeDebug().

void updateMesh ( const mapPolyMesh &   morphMap  ) [virtual]

Update any stored data for new labels.

Reimplemented from faceSet.

Definition at line 369 of file faceZoneSet.C.

References forAll, mapPolyMesh::reverseFaceMap(), List< T >::setSize(), List< T >::size(), List< T >::transfer(), and faceZoneSet::updateSet().

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

Return max index+1.

Reimplemented from faceSet.

Definition at line 317 of file faceZoneSet.C.

References primitiveMesh::nFaces().


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