MAST
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
boundary_condition_base.h
Go to the documentation of this file.
1
/*
2
* MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3
* Copyright (C) 2013-2019 Manav Bhatia
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
20
#ifndef __mast__boundary_condition__
21
#define __mast__boundary_condition__
22
23
// MAST includes
24
#include "
base/function_set_base.h
"
25
26
27
namespace
MAST
{
28
29
enum
BoundaryConditionType
{
30
31
SURFACE_PRESSURE
,
32
POINT_LOAD
,
33
POINT_MOMENT
,
34
PISTON_THEORY
,
35
DIRICHLET
,
36
TEMPERATURE
,
37
HEAT_FLUX
,
38
CONVECTION_HEAT_FLUX
,
39
SURFACE_RADIATION_HEAT_FLUX
,
40
HEAT_SOURCE
,
41
NO_SLIP_WALL
,
42
SYMMETRY_WALL
,
43
SLIP_WALL
,
44
FAR_FIELD
,
45
EXHAUST
,
46
ISOTHERMAL
,
47
ADIABATIC
48
};
49
50
51
class
BoundaryConditionBase
:
52
public
MAST::FunctionSetBase
{
53
54
public
:
55
BoundaryConditionBase
(
MAST::BoundaryConditionType
t):
56
MAST
::
FunctionSetBase
(),
57
_bc_type
(t)
58
{ }
59
60
virtual
~BoundaryConditionBase
() { }
61
62
63
MAST::BoundaryConditionType
type
()
const
{
64
return
_bc_type
;
65
}
66
67
protected
:
68
69
MAST::BoundaryConditionType
_bc_type
;
70
};
71
72
}
73
74
75
#endif // __mast__boundary_condition__
MAST::PISTON_THEORY
Definition:
boundary_condition_base.h:34
MAST::SURFACE_RADIATION_HEAT_FLUX
Definition:
boundary_condition_base.h:39
MAST::BoundaryConditionBase::_bc_type
MAST::BoundaryConditionType _bc_type
Definition:
boundary_condition_base.h:69
function_set_base.h
MAST::ADIABATIC
Definition:
boundary_condition_base.h:47
MAST::SURFACE_PRESSURE
Definition:
boundary_condition_base.h:31
MAST::NO_SLIP_WALL
Definition:
boundary_condition_base.h:41
MAST::POINT_LOAD
Definition:
boundary_condition_base.h:32
MAST::HEAT_SOURCE
Definition:
boundary_condition_base.h:40
MAST::POINT_MOMENT
Definition:
boundary_condition_base.h:33
MAST::SLIP_WALL
Definition:
boundary_condition_base.h:43
MAST::ISOTHERMAL
Definition:
boundary_condition_base.h:46
MAST::CONVECTION_HEAT_FLUX
Definition:
boundary_condition_base.h:38
MAST::BoundaryConditionBase
Definition:
boundary_condition_base.h:51
MAST::BoundaryConditionBase::type
MAST::BoundaryConditionType type() const
Definition:
boundary_condition_base.h:63
MAST::BoundaryConditionBase::~BoundaryConditionBase
virtual ~BoundaryConditionBase()
Definition:
boundary_condition_base.h:60
MAST::DIRICHLET
Definition:
boundary_condition_base.h:35
MAST::TEMPERATURE
Definition:
boundary_condition_base.h:36
MAST::EXHAUST
Definition:
boundary_condition_base.h:45
MAST::FunctionSetBase
provides a methods to store property values
Definition:
function_set_base.h:36
MAST::HEAT_FLUX
Definition:
boundary_condition_base.h:37
MAST::BoundaryConditionType
BoundaryConditionType
Definition:
boundary_condition_base.h:29
MAST::SYMMETRY_WALL
Definition:
boundary_condition_base.h:42
MAST::BoundaryConditionBase::BoundaryConditionBase
BoundaryConditionBase(MAST::BoundaryConditionType t)
Definition:
boundary_condition_base.h:55
MAST::FAR_FIELD
Definition:
boundary_condition_base.h:44
MAST
Definition:
flutter_root_base.h:27
src
base
boundary_condition_base.h
Generated by
1.8.11