Chi-Tech
fv_diffusion_bndry.h
Go to the documentation of this file.
1
#ifndef FV_DIFFUSION_BOUNDARY_H
2
#define FV_DIFFUSION_BOUNDARY_H
3
4
#include <array>
5
6
namespace
fv_diffusion
7
{
8
class
Boundary
;
9
10
enum class
BoundaryType
:
int
11
{
12
Reflecting = 1,
13
Dirichlet = 2,
14
Neumann = 3,
15
Robin = 4,
16
Vacuum = 5
17
};
18
}
19
20
//###################################################################
21
/**Parent class for diffusion boundaries*/
22
class
fv_diffusion::Boundary
23
{
24
public :
25
BoundaryType
type_
=
BoundaryType::Dirichlet
;
26
27
std::array<double, 3>
values_
= {0.,0.,0.};
28
};
29
30
#endif
//FV_DIFFUSION_BOUNDARY_H
fv_diffusion::Boundary
Definition:
fv_diffusion_bndry.h:23
fv_diffusion::Boundary::values_
std::array< double, 3 > values_
Definition:
fv_diffusion_bndry.h:27
fv_diffusion::Boundary::type_
BoundaryType type_
Definition:
fv_diffusion_bndry.h:25
fv_diffusion
Definition:
fv_diffusion_bndry.h:7
fv_diffusion::BoundaryType
BoundaryType
Definition:
fv_diffusion_bndry.h:11
fv_diffusion::BoundaryType::Dirichlet
@ Dirichlet
modules
FVDiffusion
fv_diffusion_bndry.h
Generated by
1.9.3