Utility to produce the value and derivative of a cubic function at a point. More...
Functions | |
Real | cubic (Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p) |
Cubic function f(x) that satisfies f(x0) = y0 f'(x0) = y0p f(x1) = y1 f'(x1) = y1p. More... | |
Real | dcubic (Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p) |
Derivative of cubic function, f(x), with respect to x. More... | |
Utility to produce the value and derivative of a cubic function at a point.
The cubic is defined by values and derivatives at two points.
Cubic function f(x) that satisfies f(x0) = y0 f'(x0) = y0p f(x1) = y1 f'(x1) = y1p.
x | the argument |
Definition at line 16 of file PorousFlowCubic.C.
Referenced by PorousFlowVanGenuchten::relativePermeabilityHys(), PorousFlowVanGenuchten::relativePermeabilityNWHys(), and TEST().
Derivative of cubic function, f(x), with respect to x.
f(x) satisfies f(x0) = y0 f'(x0) = y0p f(x1) = y1 f'(x1) = y1p
x | the argument |
Definition at line 39 of file PorousFlowCubic.C.
Referenced by PorousFlowVanGenuchten::drelativePermeabilityHys(), PorousFlowVanGenuchten::drelativePermeabilityNWHys(), and TEST().