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
LinearADRCleanup.c
Go to the documentation of this file.
1
6
#include <stdlib.h>
7
#include <
physicalmodels/linearadr.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
}
LinearADR::d
double * d
Definition:
linearadr.h:53
LinearADRCleanup
int LinearADRCleanup(void *)
Definition:
LinearADRCleanup.c:10
LinearADR
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
Definition:
linearadr.h:37
LinearADR::a
double * a
Definition:
linearadr.h:50
linearadr.h
Linear Advection-Diffusion-Reaction model.