sbls_inform_type structure#

#include <galahad_sbls.h>

struct sbls_inform_type {
    // fields

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ sort_status;
    int64_t factorization_integer;
    int64_t factorization_real;
    ipc_ preconditioner;
    ipc_ factorization;
    ipc_ d_plus;
    ipc_ rank;
    bool rank_def;
    bool perturbed;
    ipc_ iter_pcg;
    rpc_ norm_residual;
    bool alternative;
    struct sbls_time_type time;
    struct sls_inform_type sls_inform;
    struct uls_inform_type uls_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

return status. See SBLS_form_and_factorize for details

ipc_ alloc_status

the status of the last attempted allocation/deallocation

char bad_alloc[81]

the name of the array for which an allocation/deallocation error occurred

ipc_ sort_status

the return status from the sorting routines

int64_t factorization_integer

the total integer workspace required for the factorization

int64_t factorization_real

the total real workspace required for the factorization

ipc_ preconditioner

the preconditioner used

ipc_ factorization

the factorization used

ipc_ d_plus

how many of the diagonals in the factorization are positive

ipc_ rank

the computed rank of \(A\)

bool rank_def

is the matrix A rank defficient?

bool perturbed

has the used preconditioner been perturbed to guarantee correct inertia?

ipc_ iter_pcg

the total number of projected CG iterations required

rpc_ norm_residual

the norm of the residual

bool alternative

has an “alternative” \(y\) : \(K y = 0\) and \(y^T c > 0\) been found when trying to solve \(K y = c\) for generic \(K\)?

struct sbls_time_type time

timings (see above)

struct sls_inform_type sls_inform

inform parameters from the GALAHAD package SLS used

struct uls_inform_type uls_inform

inform parameters from the GALAHAD package ULS used