Public Member Functions | Private Member Functions | Private Attributes
boundaryInfo Class Reference

Class to interrogate the polyMesh/boundary file to provide mesh patching information, without the need to read the mesh. More...

Collaboration diagram for boundaryInfo:
Collaboration graph
[legend]

Public Member Functions

 boundaryInfo (const Time &runTime, const word &regionName)
 Constructor. More...
 
const wordListnames () const
 Patch names. More...
 
const wordListtypes () const
 Patch types. More...
 
const boolListconstraint () const
 Constraint flag. More...
 
const List< wordList > & groups () const
 Groups. More...
 
const wordHashSetallGroupNames () const
 Set of all group names. More...
 
void setType (const label patchI, const word &condition)
 Set the patch type based on the condition. More...
 
void write () const
 Write the boundary dictionary. More...
 

Private Member Functions

IOPtrList< entryreadBoundaryDict (const Time &runTime, const word &regionName) const
 Read the boundary dict. More...
 

Private Attributes

IOPtrList< entryboundaryDict_
 Boundary dictionary. More...
 
wordList names_
 Patch names. More...
 
wordList types_
 Patch types. More...
 
boolList constraint_
 Constraint flag. More...
 
List< wordListgroups_
 Groups per patch. More...
 
wordHashSet allGroupNames_
 Set of all group names. More...
 

Detailed Description

Class to interrogate the polyMesh/boundary file to provide mesh patching information, without the need to read the mesh.

Definition at line 52 of file boundaryInfo.H.

Constructor & Destructor Documentation

◆ boundaryInfo()

boundaryInfo ( const Time runTime,
const word regionName 
)

Constructor.

Member Function Documentation

◆ readBoundaryDict()

IOPtrList<entry> readBoundaryDict ( const Time runTime,
const word regionName 
) const
private

Read the boundary dict.

◆ names()

const wordList& names ( ) const

Patch names.

◆ types()

const wordList& types ( ) const

Patch types.

◆ constraint()

const boolList& constraint ( ) const

Constraint flag.

◆ groups()

const List<wordList>& groups ( ) const

Groups.

◆ allGroupNames()

const wordHashSet& allGroupNames ( ) const

Set of all group names.

◆ setType()

void setType ( const label  patchI,
const word condition 
)

Set the patch type based on the condition.

◆ write()

void write ( ) const

Write the boundary dictionary.

Field Documentation

◆ boundaryDict_

IOPtrList<entry> boundaryDict_
private

Boundary dictionary.

Definition at line 57 of file boundaryInfo.H.

◆ names_

wordList names_
private

Patch names.

Definition at line 60 of file boundaryInfo.H.

◆ types_

wordList types_
private

Patch types.

Definition at line 63 of file boundaryInfo.H.

◆ constraint_

boolList constraint_
private

Constraint flag.

Definition at line 66 of file boundaryInfo.H.

◆ groups_

List<wordList> groups_
private

Groups per patch.

Definition at line 69 of file boundaryInfo.H.

◆ allGroupNames_

wordHashSet allGroupNames_
private

Set of all group names.

Definition at line 72 of file boundaryInfo.H.


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