Base class for managing patches with expressions. The expected input supports values, gradients and mixed conditions. More...
Public Member Functions | |
| patchExprFieldBase () | |
| Default construct. More... | |
| patchExprFieldBase (bool allowGradient) | |
| Construct with specified gradient handling. More... | |
| patchExprFieldBase (const dictionary &dict, bool allowGradient=false, bool isPointVal=false) | |
| Construct from dictionary. More... | |
| patchExprFieldBase (const patchExprFieldBase &rhs) | |
| Copy constructor. More... | |
| void | write (Ostream &os) const |
| Write. More... | |
Protected Attributes | |
| bool | debug_ |
| bool | allowGradient_ |
| 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 values, gradients and mixed conditions.
| Property | Description | Required | Default |
|---|---|---|---|
valueExpr | expression for fixed value | no | 0 |
gradientExpr | expression for patch normal gradient | no | 0 |
fractionExpr | expression for value fraction weight | no | 1 |
Definition at line 89 of file patchExprFieldBase.H.
Default construct.
Definition at line 37 of file patchExprFieldBase.C.
|
explicit |
Construct with specified gradient handling.
Definition at line 44 of file patchExprFieldBase.C.
|
explicit |
Construct from dictionary.
Definition at line 58 of file patchExprFieldBase.C.
References dict, Foam::Info, and Foam::nl.
| patchExprFieldBase | ( | const patchExprFieldBase & | rhs | ) |
Copy constructor.
Definition at line 129 of file patchExprFieldBase.C.
| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 144 of file patchExprFieldBase.C.
References Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
|
protected |
Definition at line 95 of file patchExprFieldBase.H.
|
protected |
Definition at line 96 of file patchExprFieldBase.H.
|
protected |
Slightly dodgy concept here.
Definition at line 99 of file patchExprFieldBase.H.
|
protected |
Definition at line 102 of file patchExprFieldBase.H.
|
protected |
Definition at line 103 of file patchExprFieldBase.H.
|
protected |
Definition at line 104 of file patchExprFieldBase.H.