HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
NavierStokes3DCleanup.c
Go to the documentation of this file.
1 
5 #include <stdlib.h>
7 
11 int NavierStokes3DCleanup(void *s )
12 {
13  NavierStokes3D *param = (NavierStokes3D*) 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 }
Structure containing variables and parameters specific to the 3D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 3D Navier-Stokes equations.
double * grav_field_g
3D Navier Stokes equations (compressible flows)
int NavierStokes3DCleanup(void *s)
double * grav_field_f