KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
global_variables.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Pooyan Dadvand
11 // Riccardo Rossi
12 //
13 //
14 
15 #pragma once
16 
17 // System includes
18 
19 // External includes
20 
21 // Project includes
22 
23 namespace Kratos::Globals
24 {
25  constexpr double Pi = 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651L;
26 
27  static constexpr int MaxAllowedThreads = 128; //we assume that no more than MaxAllowedThreads is used in SMP
28 
33 
37  enum class Configuration
38  {
39  Initial = 0,
40  Current = 1
41  };
42 
43 
47  enum class DataLocation
48  {
51  Element,
52  Condition,
53  ModelPart,
55  };
56 
61 
65 
69 
73 
75 
76 } // namespace Kratos::Globals
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Definition: global_variables.h:24
Configuration
Enum for Initial and Current configurations.
Definition: global_variables.h:38
static constexpr int MaxAllowedThreads
Definition: global_variables.h:27
DataLocation
Enum for location of data.
Definition: global_variables.h:48
constexpr double Pi
Definition: global_variables.h:25