Loading...
Searching...
No Matches
PDRpatchDef Class Reference

Bookkeeping for patch definitions. More...

#include <PDRpatchDef.H>

Collaboration diagram for PDRpatchDef:

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.
 PDRpatchDef (const word &name)
 Construct with given patch name.
PDRpatchDefoperator= (const PDRpatchDef &)=default
 Construct with given patch name.
PDRpatchDefoperator= (PDRpatchDef &&)=default
void operator= (const std::string &newName)
 Assign new patch name.

Public Attributes

word patchName
label patchType
scalar blowoffPress
scalar blowoffTime

Static Public Attributes

static const Enum< predefinednames
 Names for predefined types.

Detailed Description

Bookkeeping for patch definitions.

Source files

Definition at line 49 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 56 of file PDRpatchDef.H.

Constructor & Destructor Documentation

◆ PDRpatchDef() [1/2]

PDRpatchDef ( )
inline

Construct null.

Definition at line 87 of file PDRpatchDef.H.

References blowoffPress, blowoffTime, patchName, and patchType.

Referenced by operator=(), and operator=().

Here is the caller graph for this function:

◆ PDRpatchDef() [2/2]

PDRpatchDef ( const word & name)
inlineexplicit

Construct with given patch name.

Definition at line 98 of file PDRpatchDef.H.

References blowoffPress, blowoffTime, Foam::name(), patchName, and patchType.

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/3]

PDRpatchDef & operator= ( const PDRpatchDef & )
default

Construct with given patch name.

References PDRpatchDef().

Here is the call graph for this function:

◆ operator=() [2/3]

PDRpatchDef & operator= ( PDRpatchDef && )
default

References PDRpatchDef().

Here is the call graph for this function:

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

Referenced by PDRpatchDef(), and PDRpatchDef().

◆ patchType

label patchType

Definition at line 75 of file PDRpatchDef.H.

Referenced by PDRpatchDef(), and PDRpatchDef().

◆ blowoffPress

scalar blowoffPress

Definition at line 77 of file PDRpatchDef.H.

Referenced by PDRpatchDef(), and PDRpatchDef().

◆ blowoffTime

scalar blowoffTime

Definition at line 79 of file PDRpatchDef.H.

Referenced by PDRpatchDef(), and PDRpatchDef().


The documentation for this class was generated from the following file:
  • applications/utilities/preProcessing/PDR/pdrFields/PDRpatchDef.H