FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | List of all members
functiontypemodule::functionderivative Interface Reference

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...
 

Detailed Description

Returns a function derivative.

Member Function/Subroutine Documentation

◆ functionderivative1()

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).

Parameters
funcPointer to the function shape to evaluate the derivative of
[in]xArgFunction argument value to evaluate the derivative at
[in]derOrderDerivative order (0, 1 or 2)
ierrError flag
[in]epsSize of argument interval for numerical derivatives
Author
Trond Arne Svidal
Date
Oct 2002

◆ functionderivative2()

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,...).

Parameters
funcPointer to the function shape to evaluate the derivative of
[in]xArgFunction argument values to evaluate the derivative at
[in]dVarWhich argument to calculate derivative with respect to
[in]derOrderDerivative order (0, 1 or 2)
ierrError flag
[in]epsSize of argument interval for numerical derivatives
Author
Trond Arne Svidal
Date
Oct 2002

The documentation for this interface was generated from the following file: