Loading [MathJax]/extensions/tex2jax.js
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
+
Macros
_
a
c
d
g
i
m
n
r
s
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
BandedMatrixInitialize.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
bandedmatrix.h
>
8
10
int
BandedMatrixInitialize
(
void
*A )
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
}
BandedMatrix::nrows_local
int nrows_local
Definition:
bandedmatrix.h:20
bandedmatrix.h
Data structure and some function declarations for banded block matrices.
BandedMatrix::nbands
int nbands
Definition:
bandedmatrix.h:19
BandedMatrix::data
double * data
Definition:
bandedmatrix.h:24
BandedMatrix::BlockSize
int BlockSize
Definition:
bandedmatrix.h:21
BandedMatrixInitialize
int BandedMatrixInitialize(void *A)
Definition:
BandedMatrixInitialize.c:10
BandedMatrix
Structure for defining a banded block matrix.
Definition:
bandedmatrix.h:18
BandedMatrix::nrow
int * nrow
Definition:
bandedmatrix.h:23
BandedMatrix::ncol
int * ncol
Definition:
bandedmatrix.h:22