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 79 of file patchExprFieldBase.H.
|
protected |
Enumeration of expected expressions.
| Enumerator | |
|---|---|
| VALUE_TYPE | |
| GRADIENT_TYPE | |
| MIXED_TYPE | |
Definition at line 88 of file patchExprFieldBase.H.
Default construct.
|
explicit |
Construct from dictionary.
| void write | ( | Ostream & | os | ) | const |
Write.
|
protected |
Add debugging.
Definition at line 101 of file patchExprFieldBase.H.
|
protected |
Slightly dodgy concept here.
Definition at line 106 of file patchExprFieldBase.H.
|
protected |
Definition at line 109 of file patchExprFieldBase.H.
|
protected |
Definition at line 110 of file patchExprFieldBase.H.
|
protected |
Definition at line 111 of file patchExprFieldBase.H.