nerplanck_physflux_concentration Subroutine

private subroutine nerplanck_physflux_concentration(state, diffusivity, flux)

of the Nernst-Planck equations.

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(3)

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


Called by

proc~~nerplanck_physflux_concentration~~CalledByGraph proc~nerplanck_physflux_concentration nerplanck_physflux_concentration interface~atl_nerplanck_physflux_solve atl_nerplanck_physflux_solve interface~atl_nerplanck_physflux_solve->proc~nerplanck_physflux_concentration

Contents


Variables

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