fSolve_t Derived Type

type, public, abstract :: fSolve_t

Procedure 'fcn' of this class is the parameter to fSolve subroutine.

This abstract object should be extended by user the only requirement is to overwrite abstract 'fcn' class procedure, which will be used by fSolve algorithm.


Inherited by

type~~fsolve_t~~InheritedByGraph type~fsolve_t fSolve_t type~junction_dynamic_parameters_t junction_dynamic_parameters_t type~junction_dynamic_parameters_t->type~fsolve_t type~junction_t junction_t type~junction_t->type~junction_dynamic_parameters_t dynamic

Type-Bound Procedures

procedure(fSolve_function), public, deferred :: fcn

  • subroutine fSolve_function(me, n, x, fVec) Prototype

    User-supplied system of equations

    Arguments

    Type IntentOptional Attributes Name
    class(fSolve_t), intent(in) :: me

    User-defined object transmitted to the solver

    integer, intent(in) :: n

    number of functions and variables

    real(kind=dp), intent(inout) :: x(n)

    result or initial point where the jacobian is evaluated

    real(kind=dp), intent(inout) :: fVec(n)

    the functions evaluated at 'x'