Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
dSTRmat Struct Reference

Structure matrix of REAL type. More...

#include <fasp.h>

Data Fields

INT nx
 number of grids in x direction
 
INT ny
 number of grids in y direction
 
INT nz
 number of grids in z direction
 
INT nxy
 number of grids on x-y plane
 
INT nc
 size of each block (number of components)
 
INT ngrid
 number of grids
 
REALdiag
 diagonal entries (length is ngrid*(nc^2))
 
INT nband
 number of off-diag bands
 
INToffsets
 offsets of the off-diagonals (length is nband)
 
REAL ** offdiag
 off-diagonal entries (dimension is nband * [(ngrid-|offsets|) * nc^2])
 

Detailed Description

Structure matrix of REAL type.

Note
Every nc^2 entries of the array diag and off-diag[i] store one block: For 2D matrix, the recommended offsets is [-1,1,-nx,nx]; For 3D matrix, the recommended offsets is [-1,1,-nx,nx,-nxy,nxy].

Definition at line 304 of file fasp.h.


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