HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Euler1DCleanup.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
physicalmodels/euler1d.h
>
8
10
int
Euler1DCleanup
(
11
void
*s
12
)
13
{
14
Euler1D
*param = (
Euler1D
*) s;
15
free(param->
grav_field
);
16
free(param->
fast_jac
);
17
free(param->
solution
);
18
return
(0);
19
}
Euler1D
Structure containing variables and parameters specific to the 1D Euler equations. This structure cont...
Definition:
euler1d.h:273
Euler1D::fast_jac
double * fast_jac
Definition:
euler1d.h:289
euler1d.h
1D Euler Equations (inviscid, compressible flows)
Euler1D::solution
double * solution
Definition:
euler1d.h:290
Euler1DCleanup
int Euler1DCleanup(void *s)
Definition:
Euler1DCleanup.c:10
Euler1D::grav_field
double * grav_field
Definition:
euler1d.h:288