nerplanck_physflux_diffusiveFlux Subroutine

private subroutine nerplanck_physflux_diffusiveFlux(state, diffusivity, flux)

This subroutine calculates the flux of the Nernst-Planck equation on the reference cubic element.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: state(4)

State vector (as conservative variables). The order of this vector has to be where and denoted concentration (scalar) and diffusive fluxes (vector).

real(kind=rk), intent(in) :: diffusivity

The diffusivity in the cell.

real(kind=rk), intent(out) :: flux

The flux inside the cell. The order of this vector is the same as the input arguments.


Called by

proc~~nerplanck_physflux_diffusiveflux~~CalledByGraph proc~nerplanck_physflux_diffusiveflux nerplanck_physflux_diffusiveFlux interface~atl_nerplanck_physflux_preprocess atl_nerplanck_physflux_preprocess interface~atl_nerplanck_physflux_preprocess->proc~nerplanck_physflux_diffusiveflux proc~modg_nerplanck_physflux_pre modg_nerplanck_physFlux_pre proc~modg_nerplanck_physflux_pre->interface~atl_nerplanck_physflux_preprocess proc~preprocess_modg_nerplanck_kernel preprocess_modg_nerplanck_kernel proc~preprocess_modg_nerplanck_kernel->proc~modg_nerplanck_physflux_pre interface~atl_preprocess_modg_nerplanck_kernel atl_preprocess_modg_nerplanck_kernel interface~atl_preprocess_modg_nerplanck_kernel->proc~preprocess_modg_nerplanck_kernel

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: diffusivitySqrt