eval_sources_external Subroutine

public subroutine eval_sources_external(self, comm_handler, equi_storage, mesh, polars, tau, ne, pot, vort, upar, jpar, apar, te, ti, src_ne, src_te, src_ti)

Evaluates external sources

Type Bound

sources_external_t

Arguments

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

Instance of class

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

Communicators

class(equilibrium_storage_t), intent(in) :: equi_storage

Equilibrium storage

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

Mesh within poloidal plane

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

Polar grid and operators

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

Time, at output tau + dtau

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

Parallel electromagnetic potential

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

Electron temperature

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

Ion temperature

real(kind=GP), intent(inout), dimension(mesh%get_n_points_inner()) :: src_ne

Particel source on inner grid points

real(kind=GP), intent(inout), dimension(mesh%get_n_points_inner()) :: src_te

Electron temperature source on inner grid points

real(kind=GP), intent(inout), dimension(mesh%get_n_points_inner()) :: src_ti

Ion temperature source on inner grid points


Contents