HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 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>
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 }
2D Navier Stokes equations (compressible flows)
double * grav_field_f
double * grav_field_g
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.
int NavierStokes2DCleanup(void *)