Chi-Tech
dfem_diffusion_bndry.h
Go to the documentation of this file.
1
#ifndef DFEM_DIFFUSION_BOUNDARY_H
2
#define DFEM_DIFFUSION_BOUNDARY_H
3
4
#include <array>
5
6
namespace
dfem_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
dfem_diffusion::Boundary
23
{
24
public :
25
BoundaryType
type_
=
BoundaryType::Dirichlet
;
26
27
std::array<double, 3>
values_
= {0.,0.,0.};
28
};
29
30
#endif
//DFEM_DIFFUSION_BOUNDARY_H
dfem_diffusion::Boundary
Definition:
dfem_diffusion_bndry.h:23
dfem_diffusion::Boundary::type_
BoundaryType type_
Definition:
dfem_diffusion_bndry.h:25
dfem_diffusion::Boundary::values_
std::array< double, 3 > values_
Definition:
dfem_diffusion_bndry.h:27
dfem_diffusion
Definition:
dfem_diffusion_bndry.h:7
dfem_diffusion::BoundaryType
BoundaryType
Definition:
dfem_diffusion_bndry.h:11
dfem_diffusion::BoundaryType::Dirichlet
@ Dirichlet
modules
DFEMDiffusion
dfem_diffusion_bndry.h
Generated by
1.9.3