newton Subroutine

public subroutine newton(sub, x, tol, max_its, its)

Arguments

Type IntentOptional Attributes Name
procedure(to_solve) :: sub
real(kind=pr), intent(inout) :: x(:)
real(kind=pr), intent(in) :: tol
integer, intent(in) :: max_its
integer, intent(out) :: its

Calls

proc~~newton~~CallsGraph proc~newton newton proc~solve_system solve_system proc~newton->proc~solve_system none~dgesv dgesv proc~solve_system->none~dgesv

Called by

proc~~newton~~CalledByGraph proc~newton newton proc~homotopy homotopy proc~homotopy->proc~newton proc~solve_tp solve_TP proc~solve_tp->proc~newton proc~saturation_pressure saturation_pressure proc~saturation_pressure->proc~solve_tp proc~saturation_temperature saturation_temperature proc~saturation_temperature->proc~solve_tp

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: F(size(X))
real(kind=pr), public :: F2(size(X))
real(kind=pr), public :: J(size(X),size(X))
real(kind=pr), public :: J2(size(X),size(X))
real(kind=pr), public :: dX(size(X))
real(kind=pr), public :: t