FEDEM Solver
R8.0
Source code of the dynamics solver
|
Returns a function derivative. More...
Public Member Functions | |
real(dp) function | functionderivative1 (func, xArg, derOrder, ierr, eps) |
Evaluates the derivative of a single-argument function f(x). More... | |
real(dp) function | functionderivative2 (func, xArg, dVar, derOrder, ierr, eps) |
Evaluates the derivative of a multi-argument function f(x,y,z,...). More... | |
Returns a function derivative.
real(dp) function functiontypemodule::functionderivative::functionderivative1 | ( | type(functiontype), pointer | func, |
real(dp), intent(in) | xArg, | ||
integer, intent(in) | derOrder, | ||
integer, intent(inout) | ierr, | ||
real(dp), intent(in), optional | eps | ||
) |
Evaluates the derivative of a single-argument function f(x).
func | Pointer to the function shape to evaluate the derivative of | |
[in] | xArg | Function argument value to evaluate the derivative at |
[in] | derOrder | Derivative order (0, 1 or 2) |
ierr | Error flag | |
[in] | eps | Size of argument interval for numerical derivatives |
real(dp) function functiontypemodule::functionderivative::functionderivative2 | ( | type(functiontype), pointer | func, |
real(dp), dimension(:), intent(in) | xArg, | ||
integer, intent(in) | dVar, | ||
integer, intent(in) | derOrder, | ||
integer, intent(inout) | ierr, | ||
real(dp), intent(in), optional | eps | ||
) |
Evaluates the derivative of a multi-argument function f(x,y,z,...).
func | Pointer to the function shape to evaluate the derivative of | |
[in] | xArg | Function argument values to evaluate the derivative at |
[in] | dVar | Which argument to calculate derivative with respect to |
[in] | derOrder | Derivative order (0, 1 or 2) |
ierr | Error flag | |
[in] | eps | Size of argument interval for numerical derivatives |