MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
boundary_condition_base.h
Go to the documentation of this file.
1
/*
2
* MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3
* Copyright (C) 2013-2020 Manav Bhatia and MAST authors
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
SURFACE_TRACTION
,
33
SURFACE_TRACTION_SHIFTED_BOUNDARY
,
34
POINT_LOAD
,
35
POINT_MOMENT
,
36
PISTON_THEORY
,
37
DIRICHLET
,
38
TEMPERATURE
,
39
HEAT_FLUX
,
40
CONVECTION_HEAT_FLUX
,
41
SURFACE_RADIATION_HEAT_FLUX
,
42
HEAT_SOURCE
,
43
NO_SLIP_WALL
,
44
SYMMETRY_WALL
,
45
SLIP_WALL
,
46
FAR_FIELD
,
47
EXHAUST
,
48
ISOTHERMAL
,
49
ADIABATIC
,
50
BOUNDARY_VELOCITY
51
};
52
53
54
class
BoundaryConditionBase
:
55
public
MAST::FunctionSetBase
{
56
57
public
:
58
BoundaryConditionBase
(
MAST::BoundaryConditionType
t):
59
MAST
::
FunctionSetBase
(),
60
_bc_type
(t)
61
{ }
62
63
virtual
~BoundaryConditionBase
() { }
64
65
66
MAST::BoundaryConditionType
type
()
const
{
67
return
_bc_type
;
68
}
69
70
protected
:
71
72
MAST::BoundaryConditionType
_bc_type
;
73
};
74
75
}
76
77
78
#endif // __mast__boundary_condition__
MAST::PISTON_THEORY
Definition:
boundary_condition_base.h:36
MAST::SURFACE_RADIATION_HEAT_FLUX
Definition:
boundary_condition_base.h:41
MAST::BoundaryConditionBase::_bc_type
MAST::BoundaryConditionType _bc_type
Definition:
boundary_condition_base.h:72
function_set_base.h
MAST::ADIABATIC
Definition:
boundary_condition_base.h:49
MAST::SURFACE_PRESSURE
Definition:
boundary_condition_base.h:31
MAST::NO_SLIP_WALL
Definition:
boundary_condition_base.h:43
MAST::POINT_LOAD
Definition:
boundary_condition_base.h:34
MAST::HEAT_SOURCE
Definition:
boundary_condition_base.h:42
MAST::POINT_MOMENT
Definition:
boundary_condition_base.h:35
MAST::SLIP_WALL
Definition:
boundary_condition_base.h:45
MAST::ISOTHERMAL
Definition:
boundary_condition_base.h:48
MAST::CONVECTION_HEAT_FLUX
Definition:
boundary_condition_base.h:40
MAST::BoundaryConditionBase
Definition:
boundary_condition_base.h:54
MAST::BoundaryConditionBase::~BoundaryConditionBase
virtual ~BoundaryConditionBase()
Definition:
boundary_condition_base.h:63
MAST::DIRICHLET
Definition:
boundary_condition_base.h:37
MAST::TEMPERATURE
Definition:
boundary_condition_base.h:38
MAST::EXHAUST
Definition:
boundary_condition_base.h:47
MAST::FunctionSetBase
provides a methods to store property values
Definition:
function_set_base.h:36
MAST::HEAT_FLUX
Definition:
boundary_condition_base.h:39
MAST::BoundaryConditionType
BoundaryConditionType
Definition:
boundary_condition_base.h:29
MAST::BoundaryConditionBase::type
MAST::BoundaryConditionType type() const
Definition:
boundary_condition_base.h:66
MAST::SURFACE_TRACTION
Definition:
boundary_condition_base.h:32
MAST::SYMMETRY_WALL
Definition:
boundary_condition_base.h:44
MAST::BoundaryConditionBase::BoundaryConditionBase
BoundaryConditionBase(MAST::BoundaryConditionType t)
Definition:
boundary_condition_base.h:58
MAST::FAR_FIELD
Definition:
boundary_condition_base.h:46
MAST::BOUNDARY_VELOCITY
Definition:
boundary_condition_base.h:50
MAST::SURFACE_TRACTION_SHIFTED_BOUNDARY
Definition:
boundary_condition_base.h:33
MAST
Definition:
flutter_root_base.h:27
src
base
boundary_condition_base.h
Generated on Fri Jul 24 2020 16:05:44 for MAST by
1.8.13