blockMeshConfigurationBase Class Reference

Functions to configure and write a blockMeshDict configuration file. More...

Inheritance diagram for blockMeshConfigurationBase:
Collaboration diagram for blockMeshConfigurationBase:

Public Member Functions

 blockMeshConfigurationBase (const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const HashTable< Pair< word >> &patchOpts)
 Construct from components. More...
 
 blockMeshConfigurationBase (const blockMeshConfigurationBase &)=delete
 Disallow default bitwise copy construction. More...
 
 ~blockMeshConfigurationBase ()
 Destructor. More...
 
void operator= (const blockMeshConfigurationBase &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from caseFileConfiguration
 caseFileConfiguration (const fileName &name, const fileName &dir, const Time &time)
 Construct from components. More...
 
 caseFileConfiguration (const caseFileConfiguration &)=delete
 Disallow default bitwise copy construction. More...
 
 ~caseFileConfiguration ()
 Destructor. More...
 
void operator= (const caseFileConfiguration &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

void roundBoundingBox (boundBox &bb, const scalar s)
 Round a bounding box by the rounding scale. More...
 
Pair< wordreadPatchOption (const word &option) const
 Parse the patch commandline options. More...
 
void writeVertex (const word &x, const word &y, const word &z)
 Write a vertex entry in the vertices list. More...
 
- Protected Member Functions inherited from caseFileConfiguration
void beginDict (OFstream &os)
 Output stream to begin a new dictionary without name. More...
 
void beginDict (OFstream &os, const word &name)
 Output stream to begin a new dictionary with name. More...
 
void endDict (OFstream &os, bool newline=true)
 Output stream to end a dictionary. More...
 
void beginList (OFstream &os)
 Output stream to begin a new list without name. More...
 
void beginList (OFstream &os, const word &name)
 Output stream to begin a new list with name. More...
 
void endList (OFstream &os, bool newline=true)
 Output stream to end a list. More...
 

Protected Attributes

boundBox bb_
 Bounding box for the background mesh block. More...
 
HashTable< Pair< word > > patchOpts_
 Optional settings for patch names and types in the background mesh. More...
 
- Protected Attributes inherited from caseFileConfiguration
IOobject dict_
 IOobject to write file headers. More...
 
OFstream os_
 Output file stream to write file content. More...
 

Detailed Description

Functions to configure and write a blockMeshDict configuration file.

Source files

Definition at line 50 of file blockMeshConfigurationBase.H.

Constructor & Destructor Documentation

◆ blockMeshConfigurationBase() [1/2]

blockMeshConfigurationBase ( const fileName name,
const fileName dir,
const Time time,
const meshingSurfaceList surfaces,
const HashTable< Pair< word >> &  patchOpts 
)

Construct from components.

◆ blockMeshConfigurationBase() [2/2]

Disallow default bitwise copy construction.

◆ ~blockMeshConfigurationBase()

Destructor.

Member Function Documentation

◆ roundBoundingBox()

void roundBoundingBox ( boundBox bb,
const scalar  s 
)
protected

Round a bounding box by the rounding scale.

◆ readPatchOption()

Pair<word> readPatchOption ( const word option) const
protected

Parse the patch commandline options.

◆ writeVertex()

void writeVertex ( const word x,
const word y,
const word z 
)
protected

Write a vertex entry in the vertices list.

◆ operator=()

void operator= ( const blockMeshConfigurationBase )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ bb_

boundBox bb_
protected

Bounding box for the background mesh block.

Definition at line 59 of file blockMeshConfigurationBase.H.

◆ patchOpts_

HashTable<Pair<word> > patchOpts_
protected

Optional settings for patch names and types in the background mesh.

Definition at line 62 of file blockMeshConfigurationBase.H.


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