HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Data structure and some function declarations for banded block matrices. More...
Go to the source code of this file.
Data Structures | |
struct | BandedMatrix |
Structure for defining a banded block matrix. More... | |
Functions | |
int | BandedMatrixDestroy (void *) |
int | BandedMatrixInitialize (void *) |
int | BandedMatrixPreallocate (void *, int, int, int) |
Data structure and some function declarations for banded block matrices.
Definition in file bandedmatrix.h.
struct BandedMatrix |
Structure for defining a banded block matrix.
This structure contains all the variables for defining a banded block matrix.
Definition at line 18 of file bandedmatrix.h.
int BandedMatrixDestroy | ( | void * | A | ) |
Destroy a banded block matrix object
Free up allocations inside a banded matrix object
A | Banded matrix object of type BandedMatrix |
Definition at line 10 of file BandedMatrixDestroy.c.
int BandedMatrixInitialize | ( | void * | A | ) |
Initialize a banded block matrix object
Initialize a newly-created banded matrix object.
A | Banded matrix object of type BandedMatrix |
Definition at line 10 of file BandedMatrixInitialize.c.
int BandedMatrixPreallocate | ( | void * | A, |
int | nbands, | ||
int | nrows_local, | ||
int | BlockSize | ||
) |
Preallocate memory for a banded block matrix
Preallocate memory for a banded matrix object.
A | Banded matrix object of the type BandedMatrix |
nbands | Number of bands |
nrows_local | Local number of rows |
BlockSize | Block size |
Definition at line 10 of file BandedMatrixPreallocate.c.