23 B->
ncol = (
int*) calloc (nrows_local*nbands,
sizeof(
int));
24 B->
nrow = (
int*) calloc (nrows_local,
sizeof(
int));
25 B->
data = (
double*) calloc (nrows_local*nbands*BlockSize*BlockSize,
sizeof(
double));
Data structure and some function declarations for banded block matrices.
Structure for defining a banded block matrix.
int BandedMatrixPreallocate(void *A, int nbands, int nrows_local, int BlockSize)