MADNESS
0.10.1
|
The source is here.
This adds to the complexity of the other heat equation example by including a linear term. Specifically, we solve
If time evolution operator is
For non-zero the time evolution is performed using the Trotter splitting
In order to form an exact solution for testing, we choose but the solution method is not limited to this choice.