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