Compute the Nernst electrochemical potential in V.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | E0 |
Standard electrochemical potential in V. |
||
integer(kind=int32), | intent(in) | :: | z |
Number of exchanged electrons. |
||
real(kind=dp), | intent(in) | :: | aox(:) |
Activities of the oxidants. |
||
real(kind=dp), | intent(in) | :: | vox(:) |
Coefficients for the oxidants. |
||
real(kind=dp), | intent(in) | :: | ared(:) |
Activities of the reductants |
||
real(kind=dp), | intent(in) | :: | vred(:) |
Coefficients for the reductants. |
||
real(kind=dp), | intent(in) | :: | T |
Temperature in °C. |