three_phase_line_F_solve Subroutine

public subroutine three_phase_line_F_solve(model, X, ns, S, F, dF, iters)

Arguments

Type IntentOptional Attributes Name
class(ArModel), intent(in) :: model
real(kind=pr), intent(inout) :: X(:)

Input/output vector

integer, intent(in) :: ns

Specified variable index

real(kind=pr), intent(in) :: S

Specified variable value

real(kind=pr), intent(out) :: F(:)

Function vector

real(kind=pr), intent(out) :: dF(:,:)

Jacobian

integer, intent(out), optional :: iters

Number of iterations performed


Variables

Type Visibility Attributes Name Initial
real(kind=pr), private :: Xold(size(X))
real(kind=pr), private :: dX(size(X))
integer, private :: i
integer, private :: max_tries
real(kind=pr), private :: res_norm
real(kind=pr), private :: tol