nf_workspace Derived Type

type, public :: nf_workspace

Linear-algebra workspace for fixpnf.


Inherited by

type~~nf_workspace~~InheritedByGraph type~nf_workspace nf_workspace type~nf_state nf_state type~nf_state->type~nf_workspace workspace type~nf_solver nf_solver type~nf_solver->type~nf_state state

Components

Type Visibility Attributes Name Initial
real(kind=dp), public, allocatable :: alpha(:)

Array used during interpolation and Newton-step calculations.

real(kind=dp), public, allocatable :: qr(:,:)

Matrix for QR factorizations used in Newton-step calculations.

real(kind=dp), public, allocatable :: tz(:)

Array used in QR-factorization and Newton-step computations.

real(kind=dp), public, allocatable :: w(:)

Array used during interpolation and Newton-step calculations.

real(kind=dp), public, allocatable :: wp(:)

Array used during interpolation and Newton-step calculations.

real(kind=dp), public, allocatable :: z0(:)

Array used for estimating the optimal next step size.

real(kind=dp), public, allocatable :: z1(:)

Array used for estimating the optimal next step size.

integer, public, allocatable :: pivot(:)

Pivot indices used by the QR factorization.


Type-Bound Procedures

procedure, public :: alloc => alloc_workspace

  • public pure subroutine alloc_workspace(self, n, stat)

    Initializes nf_workspace, i.e., (re)allocates all allocatable arrays and sets them to zero.

    Arguments

    Type IntentOptional Attributes Name
    class(nf_workspace), intent(inout) :: self

    Workspace object.

    integer, intent(in) :: n

    Problem dimension.

    integer, intent(out), optional :: stat

    Error status of the allocation.