Loading [MathJax]/extensions/tex2jax.js
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
+
Macros
_
a
c
d
g
i
m
n
r
s
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
NavierStokes3DCleanup.c
Go to the documentation of this file.
1
5
#include <stdlib.h>
6
#include <
physicalmodels/navierstokes3d.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
}
NavierStokes3D
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.
Definition:
navierstokes3d.h:482
NavierStokes3D::grav_field_g
double * grav_field_g
Definition:
navierstokes3d.h:497
navierstokes3d.h
3D Navier Stokes equations (compressible flows)
NavierStokes3DCleanup
int NavierStokes3DCleanup(void *s)
Definition:
NavierStokes3DCleanup.c:11
NavierStokes3D::fast_jac
double * fast_jac
Definition:
navierstokes3d.h:500
NavierStokes3D::solution
double * solution
Definition:
navierstokes3d.h:500
NavierStokes3D::grav_field_f
double * grav_field_f
Definition:
navierstokes3d.h:497