HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
BandedMatrixInitialize.c
Go to the documentation of this file.
1 
6 #include <stdlib.h>
7 #include <bandedmatrix.h>
8 
11 {
12  BandedMatrix *B = (BandedMatrix*) A;
13 
14  B->nbands = 0;
15  B->nrows_local = 0;
16  B->BlockSize = 0;
17 
18  B->ncol = NULL;
19  B->nrow = NULL;
20  B->data = NULL;
21 
22  return(0);
23 }
Data structure and some function declarations for banded block matrices.
double * data
Definition: bandedmatrix.h:24
int BandedMatrixInitialize(void *A)
Structure for defining a banded block matrix.
Definition: bandedmatrix.h:18