The Gauss' law was solved and its solution on u must be used to compute its gradients. This part was done following the example on point 1.1.9 Computing derivatives in document fenics-manual and by using
The next step is to compute the flux by integrating
The Gauss' law was solved and its solution on `u` must be used to compute its gradients. This part was done following the example on point 1.1.9 Computing derivatives in document `fenics-manual` and by using
```python
grad_u = project(grad(u), VectorFunctionSpace(mesh, "Lagrange", 1))
```
The next step is to compute the flux by integrating
The Gauss' law was solved and its solution on
u
must be used to compute its gradients. This part was done following the example on point 1.1.9 Computing derivatives in documentfenics-manual
and by usingThe next step is to compute the flux by integrating