Some basic diagnostics, execudeted during runtime
Computes and writes checksum of a plasma state The checksum does not have any physical meaning, but is used e.g in CI/CD to ensure code integrity
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler | |||
| type(mesh_cart_t), | intent(in) | :: | mesh |
Mesh within poloidal plane |
||
| real(kind=GP), | intent(in) | :: | tau |
Time |
||
| type(variable_t), | intent(in) | :: | ne |
Electron density |
||
| type(variable_t), | intent(in) | :: | pot |
Electrostatic potential |
||
| type(variable_t), | intent(in) | :: | vort |
Generalised vorticity |
||
| type(variable_t), | intent(in) | :: | upar |
Parallel ion velocity |
||
| type(variable_t), | intent(in) | :: | jpar |
Parallel current |
||
| type(variable_t), | intent(in) | :: | apar |
Electromagnetic potential |
||
| type(variable_t), | intent(in) | :: | te |
Electron temperature |
||
| type(variable_t), | intent(in) | :: | ti |
Ion temperature |
Performs reduction over planes with plane dependent factor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communicators |
||
| real(kind=GP), | intent(in) | :: | plane_fac |
plane dependent factor |
||
| real(kind=GP), | intent(inout) | :: | mean |
Mean (on output summed over planes) |
||
| real(kind=GP), | intent(inout) | :: | l1nrm |
L1-norm (on output summed over planes) |
||
| real(kind=GP), | intent(inout) | :: | maxv |
Maximum (on output summed over planes, not maximum over planes!!!) |
||
| real(kind=GP), | intent(inout) | :: | minv |
Minimum (on output summed over planes, not maximum over planes!!!) |