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
ShallowWater1DCleanup.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
physicalmodels/shallowwater1d.h
>
8
10
int
ShallowWater1DCleanup
(
11
void
*s
12
)
13
{
14
ShallowWater1D
*param = (
ShallowWater1D
*) s;
15
free(param->
b
);
16
return
(0);
17
}
ShallowWater1D
Structure containing variables and parameters specific to the 1D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 1D ShallowWater equations.
Definition:
shallowwater1d.h:137
ShallowWater1DCleanup
int ShallowWater1DCleanup(void *s)
Definition:
ShallowWater1DCleanup.c:10
shallowwater1d.h
1D Shallow Water Equations
ShallowWater1D::b
double * b
Definition:
shallowwater1d.h:141