15 real(dp),
pointer,
dimension(:) :: kf => null()
16 real(dp),
pointer,
dimension(:) :: a => null()
33 real(dp),
pointer,
dimension(:),
intent(in) :: kf
34 real(dp),
pointer,
dimension(:),
intent(in) :: a
43 function value(this, c, n)
result(val)
48 real(dp),
dimension(:),
intent(in) :: c
49 integer(I4B),
intent(in) :: n
51 if (c(n) > 0.0_dp)
then
52 val = this%Kf(n) * c(n)**this%a(n)
65 real(dp),
dimension(:),
intent(in) :: c
66 integer(I4B),
intent(in) :: n
68 if (c(n) > 0.0_dp)
then
69 derv = this%a(n) * this%Kf(n) * c(n)**(this%a(n) - 1.0_dp)
real(dp) function value(this, c, n)
Evaluate the isotherm at a given node.
real(dp) function derivative(this, c, n)
Evaluate derivative of the isotherm at a given node.
type(freundlichisothermtype) function constructor(Kf, a)
Constructor for Freundlich isotherm.
This module defines variable data types.
Freundlich isotherm implementation of IsothermType.