lis_matrix_set_vbr(3)

NAME
lis_matrix_set_vbr - associate the arrays in the VBR format with the matrix

SYNOPSIS
#include "lis.h" LIS_INT lis_matrix_set_vbr(LIS_INT nnz, LIS_INT nr, LIS_INT nc, LIS_INT bnnz, LIS_INT row[], LIS_INT col[], LIS_INT ptr[], LIS_INT bptr[], LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);

DESCRIPTION
Associate the arrays in the VBR format with matrix A.

INPUT

nnz The number of nonzero elements

nr  The number of row blocks

bnc The number of column blocks

bnnz
    The number of nonzero blocks

row, col, ptr, bptr, bindex, value
    The arrays in the VBR format

A   The matrix

OUTPUT

A   The matrix associated with the arrays

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

NOTE
After lis_matrix_set_vbr is called, the function lis_matrix_assemble must be called.

SEE ALSO
lis(3)

http://www.ssisc.org/lis/