apply Interface

interface
public subroutine apply(this, da_f, da_moments, diagnose_tpc)

Arguments

Type IntentOptional Attributes Name
class(op_diag_mom_2d_base_t), intent(inout), target :: this

Instance of the type

class(data_array_5d_t), intent(in) :: da_f

Distribution function

class(data_array_4d_t), intent(inout) :: da_moments

Moments of the distribution function in the order n, u_par, E_par, E_perp, Q_par, Q_perp, K_par, K_perp NOTE: The moments are returned in normalized units. Only u_par, Q_par and Q_perp are corrected by sqrt(2 / m) to account for the different thermal velocities of the species. They are normalised to the thermal velocity of a proton. NOTE: The geometrical prefactors of the diamagnetic heat fluxes are not taken into account in the diamagnetic moments K_par and K_perp.

logical, intent(in), optional :: diagnose_tpc

Switch to compute TPC

Description

Applies the operator to the given input values