polarisation_advection Interface

interface
public module function polarisation_advection(self, dia_fac, co, adv_pot, potv, tiv, nev, l)

Arguments

Type IntentOptional Attributes Name
class(inplane_operators_t), intent(in) :: self

Instance of the type

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

Factor in front of diamagnetic term

real(kind=GP), intent(in), dimension(self%n_points) :: co

Values of coefficient

real(kind=GP), intent(in), dimension(self%n_points) :: adv_pot

Values of the first input in bracket [adv_pot, v]

real(kind=GP), intent(in), dimension(self%n_points) :: potv

Values of electrostatic potential

real(kind=GP), intent(in), dimension(self%n_points) :: tiv

Values of ion temperature

real(kind=GP), intent(in), dimension(self%n_points) :: nev

Values of density

integer, intent(in) :: l

Index, for which term is computed

Return Value real(kind=gp)

Description

Evaluates non-linear advection div(co [adv_pot, v]_{x,y}) where v = grad(pot) + diafac*grad(pi) / ne