BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
en_IWGs.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#ifndef BELFEM_EN_IWGS_HPP
13
#define BELFEM_EN_IWGS_HPP
14
15
namespace
belfem
16
{
17
//------------------------------------------------------------------------------
18
19
enum class
ModelDimensionality
20
{
21
TwoD
,
22
AxSymmX
,
23
AxSymmY
,
24
ThreeD
,
25
UNDEFINED
26
};
27
28
//
29
enum class
Nfunction
30
{
31
Scalar
= 0,
32
Vec2d
= 1,
33
Vec3d
= 2,
34
UNDEFINED = 3
35
};
36
37
enum class
Bfunction
38
{
39
Gradient
= 0,
40
Planestress
= 1,
41
Voigt
= 2,
42
UNDEFINED = 3
43
};
44
45
46
/*enum class Ntype
47
{
48
Scalar,
49
Vector2d,
50
Vector3d,
51
UNDEFINED
52
};
53
54
enum class Btype
55
{
56
Gradient2d,
57
Gradient3d,
58
Planestress,
59
Voigt,
60
UNDEFINED
61
}; */
62
63
enum class
IwgType
64
{
65
Poisson
,
66
StaticHeatConduction
,
// thermal conduction, static
67
TransientHeatConduction
,
// thermal conduction, transient
68
Gradient2D
,
// computes derivatives in volume
69
Gradient3D
,
// computes derivatives in volume
70
SurfaceGradient
,
// computes derivatives on surface
71
PlaneStress
,
// plane stress in 2D
72
LinearElasticity
,
// Linear Elasticity
73
Maxwell
,
74
MaxwellThermal
,
75
UNDEFINED
// ADD NEW IWGS TO is_maxwell AS WELL !!!
76
};
77
78
//------------------------------------------------------------------------------
79
80
enum class
IwgMode
81
{
82
Direct
=1,
83
Iterative
=2,
84
UNDEFINED =3
85
};
86
87
//------------------------------------------------------------------------------
88
89
enum class
SolverAlgorithm
90
{
91
Direct
= 0,
92
NewtonRaphson
= 1,
93
Picard
= 2,
94
UNDEFINED = 3
95
};
96
97
//------------------------------------------------------------------------------
98
99
inline
bool
is_maxwell
(
const
IwgType
aType )
100
{
101
return
aType ==
IwgType::Maxwell
|| aType ==
IwgType::MaxwellThermal
;
102
}
103
104
//------------------------------------------------------------------------------
105
}
106
107
#endif
//BELFEM_EN_IWGS_HPP
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::IwgMode
IwgMode
Definition
en_IWGs.hpp:81
belfem::IwgMode::Iterative
@ Iterative
Definition
en_IWGs.hpp:83
belfem::IwgMode::Direct
@ Direct
Definition
en_IWGs.hpp:82
belfem::IwgType
IwgType
Definition
en_IWGs.hpp:64
belfem::IwgType::Gradient3D
@ Gradient3D
Definition
en_IWGs.hpp:69
belfem::IwgType::StaticHeatConduction
@ StaticHeatConduction
Definition
en_IWGs.hpp:66
belfem::IwgType::Gradient2D
@ Gradient2D
Definition
en_IWGs.hpp:68
belfem::IwgType::MaxwellThermal
@ MaxwellThermal
Definition
en_IWGs.hpp:74
belfem::IwgType::PlaneStress
@ PlaneStress
Definition
en_IWGs.hpp:71
belfem::IwgType::LinearElasticity
@ LinearElasticity
Definition
en_IWGs.hpp:72
belfem::IwgType::TransientHeatConduction
@ TransientHeatConduction
Definition
en_IWGs.hpp:67
belfem::IwgType::Maxwell
@ Maxwell
Definition
en_IWGs.hpp:73
belfem::IwgType::SurfaceGradient
@ SurfaceGradient
Definition
en_IWGs.hpp:70
belfem::IwgType::Poisson
@ Poisson
Definition
en_IWGs.hpp:65
belfem::SolverAlgorithm
SolverAlgorithm
Definition
en_IWGs.hpp:90
belfem::SolverAlgorithm::NewtonRaphson
@ NewtonRaphson
Definition
en_IWGs.hpp:92
belfem::SolverAlgorithm::Picard
@ Picard
Definition
en_IWGs.hpp:93
belfem::Bfunction
Bfunction
Definition
en_IWGs.hpp:38
belfem::Bfunction::Gradient
@ Gradient
Definition
en_IWGs.hpp:39
belfem::Bfunction::Planestress
@ Planestress
Definition
en_IWGs.hpp:40
belfem::Bfunction::Voigt
@ Voigt
Definition
en_IWGs.hpp:41
belfem::Nfunction
Nfunction
Definition
en_IWGs.hpp:30
belfem::Nfunction::Vec2d
@ Vec2d
Definition
en_IWGs.hpp:32
belfem::Nfunction::Vec3d
@ Vec3d
Definition
en_IWGs.hpp:33
belfem::Nfunction::Scalar
@ Scalar
Definition
en_IWGs.hpp:31
belfem::ModelDimensionality
ModelDimensionality
Definition
en_IWGs.hpp:20
belfem::ModelDimensionality::ThreeD
@ ThreeD
Definition
en_IWGs.hpp:24
belfem::ModelDimensionality::AxSymmY
@ AxSymmY
Definition
en_IWGs.hpp:23
belfem::ModelDimensionality::TwoD
@ TwoD
Definition
en_IWGs.hpp:21
belfem::ModelDimensionality::AxSymmX
@ AxSymmX
Definition
en_IWGs.hpp:22
belfem::is_maxwell
bool is_maxwell(const IwgType aType)
Definition
en_IWGs.hpp:99
src
fem
iwg
en_IWGs.hpp
Generated by
1.18.0