BELFEM 0.9.0
Berkeley Lab Finite Element Framework
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
15namespace belfem
16{
17//------------------------------------------------------------------------------
18
20 {
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 {
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 {
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
75 UNDEFINED // ADD NEW IWGS TO is_maxwell AS WELL !!!
76 };
77
78//------------------------------------------------------------------------------
79
80 enum class IwgMode
81 {
84 UNDEFINED =3
85 };
86
87//------------------------------------------------------------------------------
88
89 enum class SolverAlgorithm
90 {
91 Direct = 0,
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
USER GUIDES:
Definition cl_Capacitor.cpp:16
IwgMode
Definition en_IWGs.hpp:81
@ Iterative
Definition en_IWGs.hpp:83
@ Direct
Definition en_IWGs.hpp:82
IwgType
Definition en_IWGs.hpp:64
@ Gradient3D
Definition en_IWGs.hpp:69
@ StaticHeatConduction
Definition en_IWGs.hpp:66
@ Gradient2D
Definition en_IWGs.hpp:68
@ MaxwellThermal
Definition en_IWGs.hpp:74
@ PlaneStress
Definition en_IWGs.hpp:71
@ LinearElasticity
Definition en_IWGs.hpp:72
@ TransientHeatConduction
Definition en_IWGs.hpp:67
@ Maxwell
Definition en_IWGs.hpp:73
@ SurfaceGradient
Definition en_IWGs.hpp:70
@ Poisson
Definition en_IWGs.hpp:65
SolverAlgorithm
Definition en_IWGs.hpp:90
@ NewtonRaphson
Definition en_IWGs.hpp:92
@ Picard
Definition en_IWGs.hpp:93
Bfunction
Definition en_IWGs.hpp:38
@ Gradient
Definition en_IWGs.hpp:39
@ Planestress
Definition en_IWGs.hpp:40
@ Voigt
Definition en_IWGs.hpp:41
Nfunction
Definition en_IWGs.hpp:30
@ Vec2d
Definition en_IWGs.hpp:32
@ Vec3d
Definition en_IWGs.hpp:33
@ Scalar
Definition en_IWGs.hpp:31
ModelDimensionality
Definition en_IWGs.hpp:20
@ ThreeD
Definition en_IWGs.hpp:24
@ AxSymmY
Definition en_IWGs.hpp:23
@ TwoD
Definition en_IWGs.hpp:21
@ AxSymmX
Definition en_IWGs.hpp:22
bool is_maxwell(const IwgType aType)
Definition en_IWGs.hpp:99