PDRpatchDef Class Reference

Bookkeeping for patch definitions. More...

Collaboration diagram for PDRpatchDef:
[legend]

Public Types

enum  predefined {
  BLOCKED_FACE = 0 , MERGING_PATCH = 1 , WALL_PATCH = 2 , LAST_PREDEFINED = 2 ,
  NUM_PREDEFINED = 3
}
 Patch predefines. More...
 

Public Member Functions

 PDRpatchDef ()
 Construct null. More...
 
 PDRpatchDef (const word &name)
 Construct with given patch name. More...
 
PDRpatchDefoperator= (const PDRpatchDef &)=default
 Construct with given patch name. More...
 
PDRpatchDefoperator= (PDRpatchDef &&)=default
 
void operator= (const std::string &newName)
 Assign new patch name. More...
 

Public Attributes

word patchName
 
label patchType
 
scalar blowoffPress
 
scalar blowoffTime
 

Static Public Attributes

static const Enum< predefinednames
 Names for predefined types. More...
 

Detailed Description

Bookkeeping for patch definitions.

Source files

Definition at line 53 of file PDRpatchDef.H.

Member Enumeration Documentation

◆ predefined

enum predefined

Patch predefines.

Enumerator
BLOCKED_FACE 
MERGING_PATCH 
WALL_PATCH 
LAST_PREDEFINED 
NUM_PREDEFINED 

Definition at line 58 of file PDRpatchDef.H.

Constructor & Destructor Documentation

◆ PDRpatchDef() [1/2]

PDRpatchDef ( )
inline

Construct null.

Definition at line 85 of file PDRpatchDef.H.

◆ PDRpatchDef() [2/2]

PDRpatchDef ( const word name)
inlineexplicit

Construct with given patch name.

Definition at line 94 of file PDRpatchDef.H.

Member Function Documentation

◆ operator=() [1/3]

PDRpatchDef & operator= ( const PDRpatchDef )
default

Construct with given patch name.

◆ operator=() [2/3]

PDRpatchDef & operator= ( PDRpatchDef &&  )
default

◆ operator=() [3/3]

void operator= ( const std::string &  newName)

Assign new patch name.

Member Data Documentation

◆ names

const Enum<predefined> names
static

Names for predefined types.

Definition at line 68 of file PDRpatchDef.H.

◆ patchName

word patchName

Definition at line 73 of file PDRpatchDef.H.

◆ patchType

label patchType

Definition at line 75 of file PDRpatchDef.H.

◆ blowoffPress

scalar blowoffPress

Definition at line 77 of file PDRpatchDef.H.

◆ blowoffTime

scalar blowoffTime

Definition at line 79 of file PDRpatchDef.H.


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