Base class for managing patches with expressions. The expected input supports value, gradient and mixed conditions. More...
Public Member Functions | |
patchExprFieldBase () | |
Default construct. More... | |
patchExprFieldBase (const dictionary &dict, enum expectedTypes expectedType=expectedTypes::VALUE_TYPE, bool wantPointData=false) | |
Construct from dictionary. More... | |
void | write (Ostream &os) const |
Write. More... | |
Protected Types | |
enum | expectedTypes { VALUE_TYPE = 1 , GRADIENT_TYPE = 2 , MIXED_TYPE = 3 } |
Enumeration of expected expressions. More... | |
Protected Attributes | |
bool | debug_ |
Add debugging. More... | |
bool | evalOnConstruct_ |
Slightly dodgy concept here. More... | |
expressions::exprString | valueExpr_ |
expressions::exprString | gradExpr_ |
expressions::exprString | fracExpr_ |
Base class for managing patches with expressions. The expected input supports value, gradient and mixed conditions.
Property | Description | Required | Default |
---|---|---|---|
valueExpr | expression for uniformValue | partly | 0 |
gradientExpr | expression for uniformGradient | partly | 0 |
fractionExpr | expression for valueFraction | partly | depends |
Definition at line 83 of file patchExprFieldBase.H.
|
protected |
Enumeration of expected expressions.
Enumerator | |
---|---|
VALUE_TYPE | |
GRADIENT_TYPE | |
MIXED_TYPE |
Definition at line 90 of file patchExprFieldBase.H.
Default construct.
Definition at line 141 of file patchExprFieldBase.C.
|
explicit |
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 170 of file patchExprFieldBase.C.
References os().
|
protected |
Add debugging.
Definition at line 101 of file patchExprFieldBase.H.
|
protected |
Slightly dodgy concept here.
Definition at line 104 of file patchExprFieldBase.H.
|
protected |
Definition at line 107 of file patchExprFieldBase.H.
|
protected |
Definition at line 108 of file patchExprFieldBase.H.
|
protected |
Definition at line 109 of file patchExprFieldBase.H.