nerplanck_numflux_diffusiveFlux Subroutine

private subroutine nerplanck_numflux_diffusiveFlux(left, right, diffusivity, flux)

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

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: left(4)

Left 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) :: right(4)

Right 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 left and right cell. Since this is assumed to be equal in both cells, this flux function cannot be used to calculate the flux for cells with different material properties

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

The flux between left and right cell. The order of this vector is the same as the input arguments.


Called by

proc~~nerplanck_numflux_diffusiveflux~~CalledByGraph proc~nerplanck_numflux_diffusiveflux nerplanck_numflux_diffusiveFlux interface~atl_nerplanck_numflux_preprocess atl_nerplanck_numflux_preprocess interface~atl_nerplanck_numflux_preprocess->proc~nerplanck_numflux_diffusiveflux proc~modg_nerplanck_x_numflux_pre modg_nerplanck_x_numFlux_pre proc~modg_nerplanck_x_numflux_pre->interface~atl_nerplanck_numflux_preprocess proc~modg_nerplanck_y_numflux_pre modg_nerplanck_y_numFlux_pre proc~modg_nerplanck_y_numflux_pre->interface~atl_nerplanck_numflux_preprocess proc~modg_nerplanck_z_numflux_pre modg_nerplanck_z_numFlux_pre proc~modg_nerplanck_z_numflux_pre->interface~atl_nerplanck_numflux_preprocess proc~preprocess_modg_nerplanck_kernel preprocess_modg_nerplanck_kernel proc~preprocess_modg_nerplanck_kernel->proc~modg_nerplanck_x_numflux_pre proc~preprocess_modg_nerplanck_kernel->proc~modg_nerplanck_y_numflux_pre proc~preprocess_modg_nerplanck_kernel->proc~modg_nerplanck_z_numflux_pre interface~atl_preprocess_modg_nerplanck_kernel atl_preprocess_modg_nerplanck_kernel interface~atl_preprocess_modg_nerplanck_kernel->proc~preprocess_modg_nerplanck_kernel