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
NavierStokes2DCleanup.c
Go to the documentation of this file.
1
5
#include <stdlib.h>
6
#include <
physicalmodels/navierstokes2d.h
>
7
11
int
NavierStokes2DCleanup
(
void
*s )
12
{
13
NavierStokes2D
*param = (
NavierStokes2D
*) s;
14
15
free(param->
grav_field_f
);
16
free(param->
grav_field_g
);
17
free(param->
fast_jac
);
18
free(param->
solution
);
19
return
(0);
20
}
navierstokes2d.h
2D Navier Stokes equations (compressible flows)
NavierStokes2D::solution
double * solution
Definition:
navierstokes2d.h:391
NavierStokes2D::grav_field_f
double * grav_field_f
Definition:
navierstokes2d.h:388
NavierStokes2D::grav_field_g
double * grav_field_g
Definition:
navierstokes2d.h:388
NavierStokes2D
Structure containing variables and parameters specific to the 2D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D Navier-Stokes equations.
Definition:
navierstokes2d.h:374
NavierStokes2DCleanup
int NavierStokes2DCleanup(void *)
Definition:
NavierStokes2DCleanup.c:11
NavierStokes2D::fast_jac
double * fast_jac
Definition:
navierstokes2d.h:391