... | ... | @@ -38,7 +38,7 @@ Available examples: |
|
|
## Expressions
|
|
|
In order to write a differential equation in a mathematical natural way we have developed an expression framework, that allowes exacly this. Instead of adding abstract operator-classes to the problem definition we implement the coefficient functions of the operators using mathematical operators. An example is the following bilinearform
|
|
|
|
|
|
<img src="/uploads/8d0d247b4047613ff6bd9e75afa4ab6d/formula.png" height="50" title="a(c,\vartheta) := \big\langle\frac{1}{\epsilon}(\phi^2 - 1) c,\; \vartheta\big\rangle + \big\langle\max(10^{-5},\;(\phi+1))\nabla c,\; \nabla\vartheta\big\rangle" />
|
|
|
<img src="/uploads/8d0d247b4047613ff6bd9e75afa4ab6d/formula.png" height="45" title="a(c,\vartheta) := \big\langle\frac{1}{\epsilon}(\phi^2 - 1) c,\; \vartheta\big\rangle + \big\langle\max(10^{-5},\;(\phi+1))\nabla c,\; \nabla\vartheta\big\rangle" />
|
|
|
|
|
|
Assume that φ represents a DOFVector, i.e. a discrete representation of a function in a function-space, that is known in advance, or given by an iterative solution procedure from the last iteration. Here we use a solution component of the problem `prob`:
|
|
|
|
... | ... | |