![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Sparse matrix operations for dSTRmat matrices. More...
Go to the source code of this file.
Functions | |
| dSTRmat | fasp_dstr_create (const INT nx, const INT ny, const INT nz, const INT nc, const INT nband, INT *offsets) |
| Create STR sparse matrix data memory space. More... | |
| void | fasp_dstr_alloc (const INT nx, const INT ny, const INT nz, const INT nxy, const INT ngrid, const INT nband, const INT nc, INT *offsets, dSTRmat *A) |
| Allocate STR sparse matrix memory space. More... | |
| void | fasp_dstr_free (dSTRmat *A) |
| Free STR sparse matrix data memeory space. More... | |
| void | fasp_dstr_cp (const dSTRmat *A, dSTRmat *B) |
| Copy a dSTRmat to a new one B=A. More... | |
Sparse matrix operations for dSTRmat matrices.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaSparseSTR.c.
| void fasp_dstr_alloc | ( | const INT | nx, |
| const INT | ny, | ||
| const INT | nz, | ||
| const INT | nxy, | ||
| const INT | ngrid, | ||
| const INT | nband, | ||
| const INT | nc, | ||
| INT * | offsets, | ||
| dSTRmat * | A | ||
| ) |
Allocate STR sparse matrix memory space.
| nx | Number of grids in x direction |
| ny | Number of grids in y direction |
| nz | Number of grids in z direction |
| nxy | Number of grids in x-y plane |
| ngrid | Number of grids |
| nband | Number of off-diagonal bands |
| nc | Number of components |
| offsets | Shift from diagonal |
| A | Pointer to the dSTRmat matrix |
Definition at line 93 of file BlaSparseSTR.c.
| dSTRmat fasp_dstr_create | ( | const INT | nx, |
| const INT | ny, | ||
| const INT | nz, | ||
| const INT | nc, | ||
| const INT | nband, | ||
| INT * | offsets | ||
| ) |
Create STR sparse matrix data memory space.
| nx | Number of grids in x direction |
| ny | Number of grids in y direction |
| nz | Number of grids in z direction |
| nc | Number of components |
| nband | Number of off-diagonal bands |
| offsets | Shift from diagonal |
Definition at line 41 of file BlaSparseSTR.c.
| void fasp_dstr_free | ( | dSTRmat * | A | ) |
Free STR sparse matrix data memeory space.
| A | Pointer to the dSTRmat matrix |
Definition at line 136 of file BlaSparseSTR.c.