checksum_braginskii_m Module

Some basic diagnostics, execudeted during runtime



Contents


Subroutines

public subroutine checksum_braginskii(comm_handler, mesh, tau, ne, pot, vort, upar, jpar, apar, te, ti)

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

Arguments

Type IntentOptional 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

public subroutine planes_reduction(comm_handler, plane_fac, mean, l1nrm, maxv, minv)

Performs reduction over planes with plane dependent factor

Arguments

Type IntentOptional 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!!!)