deriv_func Interface

interface
private subroutine deriv_func(me, t, x, xdot)

Arguments

Type IntentOptional Attributes Name
class(ddeabm_class), intent(inout) :: me
real(kind=wp), intent(in) :: t

time

real(kind=wp), intent(in), dimension(:) :: x

state

real(kind=wp), intent(out), dimension(:) :: xdot

derivative of state ()

Description

Interface to the ddeabm_class derivative function.

Known as df in the documentation. provided by the user to define the system of first order differential equations which is to be solved. for the given values of t and the vector x()=(x(1),x(2),...,x(neq)), the subroutine must evaluate the neq components of the system of differential equations dx/dt=df(t,x) and store the derivatives in the array xdot(), that is, xdot(i) = dx(i)/dt for equations i=1,...,neq.