source
newtonian
three_dimensional
computational_cell.cpp
1
#include "
computational_cell.hpp
"
2
3
using namespace
three_dimenssional
;
4
5
ComputationalCell::ComputationalCell
(
void
):
6
density(0), pressure(0), velocity(), tracers() {}
7
8
ComputationalCell::ComputationalCell
(
double
density_i,
9
double
pressure_i,
10
const
Vector3D
& velocity_i):
11
density
(density_i),
pressure
(pressure_i),
12
velocity
(velocity_i),
tracers
() {}
13
14
ComputationalCell::ComputationalCell
(
double
density_i,
15
double
pressure_i,
16
const
Vector3D
& velocity_i,
17
const
vector<double>& tracers_i):
18
density
(density_i),
pressure
(pressure_i),
19
velocity
(velocity_i),
tracers
(tracers_i) {}
three_dimenssional::ComputationalCell::density
double density
Density.
Definition:
computational_cell.hpp:20
three_dimenssional::ComputationalCell::ComputationalCell
ComputationalCell(void)
Null constructor.
Definition:
computational_cell.cpp:5
Vector3D
3D Mathematical vector
Definition:
Vector3D.hpp:15
three_dimenssional
Definition:
computational_cell.hpp:11
three_dimenssional::ComputationalCell::velocity
Vector3D velocity
Velocity.
Definition:
computational_cell.hpp:26
three_dimenssional::ComputationalCell::tracers
vector< double > tracers
Tracers.
Definition:
computational_cell.hpp:29
computational_cell.hpp
A container for the hydrodynamic variables.
three_dimenssional::ComputationalCell::pressure
double pressure
Pressure.
Definition:
computational_cell.hpp:23
Generated on Thu Jun 4 2020 18:12:16 by
1.8.13