Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
dBSRmat Struct Reference

Block sparse row storage matrix of REAL type. More...

#include <fasp_block.h>

Data Fields

INT ROW
 number of rows of sub-blocks in matrix A, M More...
 
INT COL
 number of cols of sub-blocks in matrix A, N More...
 
INT NNZ
 number of nonzero sub-blocks in matrix A, NNZ More...
 
INT nb
 dimension of each sub-block More...
 
INT storage_manner
 storage manner for each sub-block More...
 
REALval
 
INTIA
 integer array of row pointers, the size is ROW+1 More...
 
INTJA
 

Detailed Description

Block sparse row storage matrix of REAL type.

Note
This data structure is adapted from the Intel MKL library. Refer to: http://software.intel.com/sites/products/documentation/hpc/mkl/lin/index.htm
Some of the following entries are capitalized to stress that they are for blocks!

Definition at line 34 of file fasp_block.h.

Field Documentation

◆ COL

INT COL

number of cols of sub-blocks in matrix A, N

Definition at line 40 of file fasp_block.h.

◆ IA

INT* IA

integer array of row pointers, the size is ROW+1

Definition at line 60 of file fasp_block.h.

◆ JA

INT* JA

Element i of the integer array columns is the number of the column in the block matrix that contains the i-th non-zero block. The size is NNZ.

Definition at line 64 of file fasp_block.h.

◆ nb

INT nb

dimension of each sub-block

Definition at line 46 of file fasp_block.h.

◆ NNZ

INT NNZ

number of nonzero sub-blocks in matrix A, NNZ

Definition at line 43 of file fasp_block.h.

◆ ROW

INT ROW

number of rows of sub-blocks in matrix A, M

Definition at line 37 of file fasp_block.h.

◆ storage_manner

INT storage_manner

storage manner for each sub-block

Definition at line 49 of file fasp_block.h.

◆ val

REAL* val

A real array that contains the elements of the non-zero blocks of a sparse matrix. The elements are stored block-by-block in row major order. A non-zero block is the block that contains at least one non-zero element. All elements of non-zero blocks are stored, even if some of them is equal to zero. Within each nonzero block elements are stored in row-major order and the size is (NNZ*nb*nb).

Definition at line 57 of file fasp_block.h.


The documentation for this struct was generated from the following file: