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
4
enum
BoundaryType
{
Dirichlet
,
Neumann
,
Periodic
};
5
6
template
<
typename
Scalar>
7
struct
BoundaryInfo
{
8
BoundaryType
m_type
;
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
BoundaryType
Definition:
Boundary.h:4
Neumann
@ Neumann
Definition:
Boundary.h:4
Periodic
@ Periodic
Definition:
Boundary.h:4
Dirichlet
@ Dirichlet
Definition:
Boundary.h:4
BoundaryInfo
Definition:
Boundary.h:7
BoundaryInfo::m_type
BoundaryType m_type
Definition:
Boundary.h:8
BoundaryInfo::BoundaryInfo
BoundaryInfo(BoundaryType type=Dirichlet, Scalar value=0)
Definition:
Boundary.h:11
BoundaryInfo::m_value
Scalar m_value
Definition:
Boundary.h:9
src
transport
Boundary.h
Generated by
1.9.1