HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ShallowWater2DCleanup.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
physicalmodels/shallowwater2d.h
>
8
10
int
ShallowWater2DCleanup
(
11
void
*s
12
)
13
{
14
ShallowWater2D
*param = (
ShallowWater2D
*) s;
15
free(param->
b
);
16
return
(0);
17
}
shallowwater2d.h
2D Shallow Water Equations
ShallowWater2DCleanup
int ShallowWater2DCleanup(void *)
Definition:
ShallowWater2DCleanup.c:10
ShallowWater2D::b
double * b
Definition:
shallowwater2d.h:243
ShallowWater2D
Structure containing variables and parameters specific to the 2D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D ShallowWater equations.
Definition:
shallowwater2d.h:240