Canoe
Comprehensive Atmosphere N' Ocean Engine
Boundary.h
Go to the documentation of this file.
1 #ifndef SRC_TRANSPORT_BOUNDARY_H_
2 #define SRC_TRANSPORT_BOUNDARY_H_
3 
5 
6 template <typename Scalar>
7 struct BoundaryInfo {
9  Scalar m_value;
10 
11  explicit BoundaryInfo(BoundaryType type = Dirichlet, Scalar value = 0)
12  : m_type(type), m_value(value) {}
13 };
14 
15 #endif // SRC_TRANSPORT_BOUNDARY_H_
BoundaryType
Definition: Boundary.h:4
@ Neumann
Definition: Boundary.h:4
@ Periodic
Definition: Boundary.h:4
@ Dirichlet
Definition: Boundary.h:4
BoundaryType m_type
Definition: Boundary.h:8
BoundaryInfo(BoundaryType type=Dirichlet, Scalar value=0)
Definition: Boundary.h:11
Scalar m_value
Definition: Boundary.h:9