capi_nernst Function

public pure function capi_nernst(E0, z, aox, vox, nox, ared, vred, nred, T) result(E) bind(C, name="ecx_kinetics_nernst")

Compute the Nernst electrochemical potential in V.

Arguments

Type IntentOptional Attributes Name
real(kind=c_double), intent(in), value :: E0

Standard electrochemical potential in V.

integer(kind=c_int), intent(in), value :: z

Number of exchanged electrons.

real(kind=c_double), intent(in) :: aox(nox)

Activities of the oxidants.

real(kind=c_double), intent(in) :: vox(nox)

Coefficients for the oxidants.

integer(kind=c_size_t), intent(in), value :: nox

Number of oxidants.

real(kind=c_double), intent(in) :: ared(nred)

Activities of the reductants

real(kind=c_double), intent(in) :: vred(nred)

Coefficients for the reductants.

integer(kind=c_size_t), intent(in), value :: nred

Number of reductants.

real(kind=c_double), intent(in), value :: T

Temperature in °C.

Return Value real(kind=c_double)


Calls

proc~~capi_nernst~~CallsGraph proc~capi_nernst capi_nernst proc~nernst nernst proc~capi_nernst->proc~nernst proc~kte kTe proc~nernst->proc~kte