Linear-algebra workspace for fixpnf.
| 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. |
Initializes nf_workspace, i.e., (re)allocates all allocatable arrays and sets them to zero.
| Type | Intent | Optional | 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. |