nonlin_solver_1var Interface

interface
public subroutine nonlin_solver_1var(this, fcn, x, lim, f, ib, err)

Arguments

Type IntentOptional Attributes Name
class(equation_solver_1var), intent(inout) :: this

The equation_solver_1var object.

class(fcn1var_helper), intent(in) :: fcn

The fcn1var_helper object containing the equation to solve.

real(kind=real64), intent(inout) :: x

On input the initial guess at the solution. On output the solution.

type(value_pair), intent(in) :: lim

A value_pair object defining the search limits.

real(kind=real64), intent(out), optional :: f

An optional parameter used to return the function residual as computed at x.

type(iteration_behavior), optional :: ib

An optional output, that if provided, allows the caller to obtain iteration performance information.

class(errors), intent(inout), optional, target :: err

An error handling object.

Description

Describes the interface of a solver for an equation of one variable.