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