ExaDG
Loading...
Searching...
No Matches
enum_types.h
1/* ______________________________________________________________________
2 *
3 * ExaDG - High-Order Discontinuous Galerkin for the Exa-Scale
4 *
5 * Copyright (C) 2021 by the ExaDG authors
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 * ______________________________________________________________________
20 */
21
22#ifndef INCLUDE_EXADG_STRUCTURE_USER_INTERFACE_ENUM_TYPES_H_
23#define INCLUDE_EXADG_STRUCTURE_USER_INTERFACE_ENUM_TYPES_H_
24
25// C/C++
26#include <string>
27
28namespace ExaDG
29{
30namespace Structure
31{
32/**************************************************************************************/
33/* */
34/* MATHEMATICAL MODEL */
35/* */
36/**************************************************************************************/
37
38/*
39 * ProblemType describes whether a steady or an unsteady problem has to be solved
40 */
41enum class ProblemType
42{
43 Undefined,
44 Steady,
45 QuasiStatic,
46 Unsteady
47};
48
49enum class Type2D
50{
51 Undefined,
52 PlaneStress,
53 PlaneStrain
54};
55
56enum class MaterialType
57{
58 Undefined,
59 StVenantKirchhoff
60};
61
62/**************************************************************************************/
63/* */
64/* PHYSICAL QUANTITIES */
65/* */
66/**************************************************************************************/
67
68// there are currently no enums for this section
69
70
71
72/**************************************************************************************/
73/* */
74/* TEMPORAL DISCRETIZATION */
75/* */
76/**************************************************************************************/
77
78// there are currently no enums for this section
79
80
81
82/**************************************************************************************/
83/* */
84/* SPATIAL DISCRETIZATION */
85/* */
86/**************************************************************************************/
87
88// there are currently no enums for this section
89
90
91
92/**************************************************************************************/
93/* */
94/* SOLVER */
95/* */
96/**************************************************************************************/
97
98/*
99 * Solver for linear system of equations
100 */
101enum class Solver
102{
103 Undefined,
104 CG,
105 FGMRES
106};
107
108/*
109 * Preconditioner type for solution of linear system of equations
110 */
111enum class Preconditioner
112{
113 None,
114 PointJacobi,
115 AdditiveSchwarz,
116 Multigrid,
117 AMG
118};
119
120/**************************************************************************************/
121/* */
122/* OUTPUT AND POSTPROCESSING */
123/* */
124/**************************************************************************************/
125
126// there are currently no enums for this section
127
128} // namespace Structure
129} // namespace ExaDG
130
131#endif
Definition driver.cpp:33