llsr_inform_type structure#

#include <galahad_llsr.h>

struct llsr_inform_type {
    // fields

    ipc_ status;
    ipc_ alloc_status;
    ipc_ factorizations;
    ipc_ len_history;
    rpc_ r_norm;
    rpc_ x_norm;
    rpc_ multiplier;
    char bad_alloc[81];
    struct llsr_time_type time;
    struct llsr_history_type history[100];
    struct sbls_inform_type sbls_inform;
    struct sls_inform_type sls_inform;
    struct ir_inform_type ir_inform;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

reported return status:

  • 0

    the solution has been found

  • -1

    an array allocation has failed

  • -2

    an array deallocation has failed

  • -3

    n and/or Delta is not positive

  • -10

    the factorization of \(K(\lambda)\) failed

  • -15

    \(S\) does not appear to be strictly diagonally dominant

  • -16

    ill-conditioning has prevented furthr progress

ipc_ alloc_status

STAT value after allocate failure.

ipc_ factorizations

the number of factorizations performed

ipc_ len_history

the number of (\(\|x\|_S\), \(\lambda\)) pairs in the history

rpc_ r_norm

corresponding value of the two-norm of the residual, \(\|A x(\lambda) - b\|\)

rpc_ x_norm

the S-norm of x, \(\|x\|_S\)

rpc_ multiplier

the multiplier corresponding to the regularization term

char bad_alloc[81]

name of array which provoked an allocate failure

struct llsr_time_type time

time information

struct llsr_history_type history[100]

history information

struct sbls_inform_type sbls_inform

information from the symmetric factorization and related linear solves (see sbls_c documentation)

struct sls_inform_type sls_inform

information from the factorization of S and related linear solves (see sls_c documentation)

struct ir_inform_type ir_inform

information from the iterative refinement for definite system solves (see ir_c documentation)