jacobian_f Interface

interface
private subroutine jacobian_f(me, x, dx, jac)

Arguments

Type IntentOptional Attributes Name
class(numdiff_type), intent(inout) :: me
real(kind=wp), intent(in), dimension(:) :: x

vector of variables (size n)

real(kind=wp), intent(in), dimension(me%n) :: dx

absolute perturbation (>0) for each variable

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

sparse jacobian vector (size num_nonzero_elements)

Description

Actual function for computing the Jacobian called by compute_jacobian.