OpenFOAM logo
Open Source CFD Toolkit

polyBoundaryMesh Class Reference

Inheritance diagram for polyBoundaryMesh:

Inheritance graph
[legend]
Collaboration diagram for polyBoundaryMesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("polyBoundaryMesh")
 Runtime type information.
 polyBoundaryMesh (const IOobject &, const polyMesh &)
 Read constructor given IOobject and a polyMesh reference.
 polyBoundaryMesh (const IOobject &, const polyMesh &, const label size)
 Construct given size.
 ~polyBoundaryMesh ()
void clearGeom ()
 Clear geometry at this level and at patches.
void clearAddressing ()
 Clear addressing at this level and at patches.
void calcGeometry ()
 Calculate the geometry for the patches (transformation tensors etc.).
const polyMeshmesh () const
 Return the mesh reference.
const List< labelPairList > & neighbourEdges () const
 Per patch the edges on the neighbouring patch. Is for every external.
wordList names () const
 Return a list of patch names.
wordList types () const
 Return a list of patch types.
wordList physicalTypes () const
 Return a list of physical types.
label findPatchID (const word &patchName) const
 Find patch index given a name.
label whichPatch (const label faceIndex) const
 Return patch index for a given face label.
bool checkDefinition (const bool report=false) const
 Check boundary definition.
void movePoints (const pointField &)
 Correct polyBoundaryMesh after moving points.
void updateMesh ()
 Correct polyBoundaryMesh after topology update.
bool writeData (Ostream &) const
 writeData member function required by regIOobject
bool write (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
 Write using given format, version and form uncompression.

Friends

Ostreamoperator<< (Ostream &, const polyBoundaryMesh &)

Constructor & Destructor Documentation

polyBoundaryMesh const IOobject ,
const polyMesh
 

Read constructor given IOobject and a polyMesh reference.

Note point pointers are unset, only used in copying meshes

polyBoundaryMesh const IOobject ,
const polyMesh ,
const label  size
 

Construct given size.

~polyBoundaryMesh  ) 
 


Member Function Documentation

void calcGeometry  ) 
 

Calculate the geometry for the patches (transformation tensors etc.).

bool checkDefinition const bool  report = false  )  const
 

Check boundary definition.

void clearAddressing  ) 
 

Clear addressing at this level and at patches.

void clearGeom  ) 
 

Clear geometry at this level and at patches.

label findPatchID const word patchName  )  const
 

Find patch index given a name.

Referenced by polyPatchID::active().

const polyMesh& mesh  )  const [inline]
 

Return the mesh reference.

Definition at line 134 of file polyBoundaryMesh.H.

References Foam::label, Foam::pointField, and Foam::wordList.

void movePoints const pointField  ) 
 

Correct polyBoundaryMesh after moving points.

wordList names  )  const
 

Return a list of patch names.

const List<labelPairList>& neighbourEdges  )  const
 

Per patch the edges on the neighbouring patch. Is for every external.

edge the neighbouring patch and neighbouring (external) patch edge label. Note that edge indices are offset by nInternalEdges to keep it as much as possible consistent with coupled patch addressing (where coupling is by local patch face index). Only valid for singly connected polyBoundaryMesh and not parallel

wordList physicalTypes  )  const
 

Return a list of physical types.

TypeName "polyBoundaryMesh"   ) 
 

Runtime type information.

wordList types  )  const
 

Return a list of patch types.

void updateMesh  ) 
 

Correct polyBoundaryMesh after topology update.

label whichPatch const label  faceIndex  )  const
 

Return patch index for a given face label.

bool write IOstream::streamFormat  fmt,
IOstream::versionNumber  ver,
IOstream::compressionType  cmp
const [virtual]
 

Write using given format, version and form uncompression.

Reimplemented from regIOobject.

bool writeData Ostream  )  const [virtual]
 

writeData member function required by regIOobject

Implements regIOobject.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const polyBoundaryMesh
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org