HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
LinearADRCleanup.c
Go to the documentation of this file.
1 
6 #include <stdlib.h>
8 
10 int LinearADRCleanup(void *s )
11 {
12  LinearADR *physics = (LinearADR*) s;
13  if (physics->a) free(physics->a);
14  if (physics->d) free(physics->d);
15 
16  return(0);
17 }
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
Definition: linearadr.h:37
double * a
Definition: linearadr.h:50
int LinearADRCleanup(void *s)
Linear Advection-Diffusion-Reaction model.
double * d
Definition: linearadr.h:53