... | ... | @@ -28,7 +28,7 @@ Run-time variables are created at run-time during pre-processing, processing or |
|
|
|
|
|
Some run-time variables (“current values”) are read-only and are only modified by built-in GetDP algorithms or functions, like `$Time` or `$TimeStep`.
|
|
|
|
|
|
In the following example the run-time variable `$a` is set to the value 2 in two different ways; the run-time variables `$b_1`, `$b_2`, ... are dynamically created and used depending on the index of the quadrature point in a formulation term; and the run-time variable `$c` is set to `0.3`, `0.4` ... `1` using the `Evaluate` operation in a `Resolution`, or by storing the result of a `PostOperation`:
|
|
|
In the following example the run-time variable `$a` is set in two different ways in functions; the run-time variables `$b_1`, `$b_2`, ... are dynamically created and used depending on the index of the quadrature point in a formulation term; and the run-time variable `$c` is set using the `Evaluate` operation in a `Resolution` or by storing the result of a `PostOperation`:
|
|
|
|
|
|
```cpp
|
|
|
Function{
|
... | ... | |