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

Structure matrix of REAL type. More...

#include <fasp.h>

Data Fields

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

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 316 of file fasp.h.

Field Documentation

◆ diag

REAL* diag

diagonal entries (length is ngrid*(nc^2))

Definition at line 337 of file fasp.h.

◆ nband

INT nband

number of off-diag bands

Definition at line 340 of file fasp.h.

◆ nc

INT nc

size of each block (number of components)

Definition at line 331 of file fasp.h.

◆ ngrid

INT ngrid

number of grids

Definition at line 334 of file fasp.h.

◆ nx

INT nx

number of grids in x direction

Definition at line 319 of file fasp.h.

◆ nxy

INT nxy

number of grids on x-y plane

Definition at line 328 of file fasp.h.

◆ ny

INT ny

number of grids in y direction

Definition at line 322 of file fasp.h.

◆ nz

INT nz

number of grids in z direction

Definition at line 325 of file fasp.h.

◆ offdiag

REAL** offdiag

off-diagonal entries (dimension is nband * [(ngrid-|offsets|) * nc^2])

Definition at line 346 of file fasp.h.

◆ offsets

INT* offsets

offsets of the off-diagonals (length is nband)

Definition at line 343 of file fasp.h.


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