Method of Manufactured Solutions for diffusion model
MMS solution
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
Source corresponding to MMS solution
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | charfun |
Value of characteristic function (penalisation) |
||
| real(kind=GP), | intent(in) | :: | penval |
Value that solution shall be penalised to |
Prints information on numerical errors of numerical solution
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler | |||
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| type(mesh_cart_t), | intent(in) | :: | mesh |
Mesh within poloidal plane |
||
| type(parallel_map_t), | intent(in) | :: | map |
Mesh within poloidal plane |
||
| real(kind=GP), | intent(in) | :: | tau |
Time |
||
| type(variable_t), | intent(in) | :: | num_sol |
Numerical solution |