OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

polyBoundaryMesh Class Reference

Inheritance diagram for polyBoundaryMesh:

Inheritance graph
[legend]
Collaboration diagram for polyBoundaryMesh:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file polyBoundaryMesh.H.


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 polyMesh & mesh () 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 checkParallelSync (const bool report=false) const
 Check whether all procs have all patches and in same order. Return.
bool checkDefinition (const bool report=false) const
 Check boundary definition. Return true if in error.
void movePoints (const pointField &)
 Correct polyBoundaryMesh after moving points.
void updateMesh ()
 Correct polyBoundaryMesh after topology update.
void reorder (const UList< label > &)
 Reorders patches. Ordering does not have to be done in.
bool writeData (Ostream &) const
 writeData member function required by regIOobject
bool writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
 Write using given format, version and form uncompression.

Friends

Ostream & operator<< (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

TypeName ( "polyBoundaryMesh"   ) 

Runtime type information.

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 polyMesh& mesh (  )  const [inline]

Return the mesh reference.

Definition at line 134 of file polyBoundaryMesh.H.

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 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.

Referenced by polyPatchID::active().

Here is the caller graph for this function:

label whichPatch ( const label  faceIndex  )  const

Return patch index for a given face label.

Referenced by Cloud< Foam::solidParticle >::boundaryFace().

Here is the caller graph for this function:

bool checkParallelSync ( const bool  report = false  )  const

Check whether all procs have all patches and in same order. Return.

true if in error.

bool checkDefinition ( const bool  report = false  )  const

Check boundary definition. Return true if in error.

void movePoints ( const pointField &   ) 

Correct polyBoundaryMesh after moving points.

void updateMesh (  ) 

Correct polyBoundaryMesh after topology update.

void reorder ( const UList< label > &   ) 

Reorders patches. Ordering does not have to be done in.

ascending or descending order. Reordering has to be unique. (is shuffle) Calls updateMesh() after reordering to recalculate data.

Reimplemented from PtrList.

bool writeData ( Ostream &   )  const [virtual]

writeData member function required by regIOobject

Implements regIOobject.

bool writeObject ( IOstream::streamFormat  fmt,
IOstream::versionNumber  ver,
IOstream::compressionType  cmp 
) const [virtual]

Write using given format, version and form uncompression.

Reimplemented from regIOobject.


Friends And Related Function Documentation

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


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