Compute the Nernst electrochemical potential in V.
| Type | Intent | Optional | 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. |