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.
temporal_methods.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: Suneth Warnakulasuriya (https://github.com/sunethwarna)
11 //
12 
13 #if !defined(KRATOS_TEMPORAL_METHODS_H_INCLUDED)
14 #define KRATOS_TEMPORAL_METHODS_H_INCLUDED
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "includes/define.h"
22 #include "includes/model_part.h"
23 
24 // Application includes
25 
26 // Application method includes
33 
34 namespace Kratos
35 {
38 
41 
42 namespace TemporalMethods
43 {
44 template <class TContainerType, class TContainerItemType, template <class T> class TDataRetrievalFunctor, template <class T> class TDataStorageFunctor>
46 {
47 public:
48  using SumMethod =
50  using MeanMethod =
56  using MinMethod =
58  using MaxMethod =
60 };
61 
65 
69 
70 template <template <class T> class TDataStorageFunctor>
72  : public ContainerTemporalMethods<NodesContainerType, NodeType, MethodUtilities::HistoricalDataValueRetrievalFunctor, TDataStorageFunctor>
73 {
74 };
75 
77  : public HistoricalTemporalMethods<MethodUtilities::HistoricalDataValueRetrievalFunctor>
78 {
79 };
80 
82  : public HistoricalTemporalMethods<MethodUtilities::NonHistoricalDataValueRetrievalFunctor>
83 {
84 };
85 
87  : public ContainerTemporalMethods<NodesContainerType, NodeType, MethodUtilities::NonHistoricalDataValueRetrievalFunctor, MethodUtilities::NonHistoricalDataValueRetrievalFunctor>
88 {
89 };
90 
92  : public ContainerTemporalMethods<ConditionsContainerType, ConditionType, MethodUtilities::NonHistoricalDataValueRetrievalFunctor, MethodUtilities::NonHistoricalDataValueRetrievalFunctor>
93 {
94 };
95 
97  : public ContainerTemporalMethods<ElementsContainerType, ElementType, MethodUtilities::NonHistoricalDataValueRetrievalFunctor, MethodUtilities::NonHistoricalDataValueRetrievalFunctor>
98 {
99 };
100 
101 } // namespace TemporalMethods
102 } // namespace Kratos
103 #endif // KRATOS_TEMPORAL_METHODS_H_INCLUDED
Base class for all Conditions.
Definition: condition.h:59
Base class for all Elements.
Definition: element.h:60
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
Element ElementType
Definition: model_part.h:120
Node NodeType
Definition: model_part.h:117
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
Condition ConditionType
Definition: model_part.h:121
This class defines the node.
Definition: node.h:65
Definition: temporal_methods.h:46
Definition: temporal_max_method.h:43
Definition: temporal_mean_method.h:41
Definition: temporal_min_method.h:43
Definition: temporal_rms_method.h:41
Definition: temporal_sum_method.h:41
Definition: temporal_variance_method.h:41
ModelPart::NodesContainerType NodesContainerType
Definition: temporal_methods.h:66
ModelPart::ElementsContainerType ElementsContainerType
Definition: temporal_methods.h:67
ModelPart::ConditionsContainerType ConditionsContainerType
Definition: temporal_methods.h:68
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21