init_diagnostics Interface

interface
public module subroutine init_diagnostics(self, comm_handler, filepath_lineout, equi, mesh_cano, mesh_stag, polars_cano, polars_stag, tau, isnaps, ne, te, ti, pot, upar, jpar, apar, apar_fluct, neutrals_dens, neutrals_parmom, neutrals_pressure)

Arguments

Type IntentOptional Attributes Name
class(diagnostics_braginskii_t), intent(inout) :: self

Instance of class

type(comm_handler_t), intent(in) :: comm_handler

MPI communication handler

character(len=*), intent(in) :: filepath_lineout

Filepath to read lineout diagnostics parameters from

class(equilibrium_t), intent(in) :: equi

Magnetic equilibrium

type(mesh_cart_t), intent(in) :: mesh_cano

Mesh (canonical) within poloidal plane

type(mesh_cart_t), intent(in) :: mesh_stag

Mesh (staggered) within poloidal plane

type(polars_t), intent(in) :: polars_cano

Polars (canonical)

type(polars_t), intent(in) :: polars_stag

Polars (staggered)

real(kind=GP), intent(in) :: tau

Time

integer, intent(in) :: isnaps

Braginskii snapshot counter

type(variable_t), intent(in) :: ne

Electron density

type(variable_t), intent(in) :: te

Electron temperature

type(variable_t), intent(in) :: ti

Ion temperature

type(variable_t), intent(in) :: pot

Electrostatic potential

type(variable_t), intent(in) :: upar

Paralle velocity

type(variable_t), intent(in) :: jpar

Parallel current

type(variable_t), intent(in) :: apar

Electromagnetic potential

type(variable_t), intent(in) :: apar_fluct

Electromagnetic potential fluctuation

type(variable_t), intent(in) :: neutrals_dens

Neutrals density

type(variable_t), intent(in) :: neutrals_parmom

Neutrals parallel momentum

type(variable_t), intent(in) :: neutrals_pressure

Neutrals pressure

Description

Initialize diagnostic