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.
rom_application.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: Riccardo Rossi
11 // Raul Bravo
12 
13 
14 #if !defined(KRATOS_ROM_APPLICATION_H_INCLUDED )
15 #define KRATOS_ROM_APPLICATION_H_INCLUDED
16 
17 
18 // System includes
19 
20 
21 // External includes
22 
23 
24 // Project includes
26 
27 // Application includes
29 
30 namespace Kratos {
31 
34 
38 
42 
46 
50 
52 
54 class KRATOS_API(ROM_APPLICATION) KratosRomApplication : public KratosApplication {
55 public:
58 
61 
65 
68 
70  ~KratosRomApplication() override {}
71 
75 
76 
80 
81  void Register() override;
82 
86 
87 
91 
92 
96 
98  std::string Info() const override
99  {
100  return "KratosRomApplication";
101  }
102 
104  void PrintInfo(std::ostream& rOStream) const override
105  {
106  rOStream << Info();
107  PrintData(rOStream);
108  }
109 
111  void PrintData(std::ostream& rOStream) const override
112  {
113  KRATOS_WATCH("KratosRomApplication");
115 
116  rOStream << "Variables:" << std::endl;
118  rOStream << std::endl;
119  rOStream << "Elements:" << std::endl;
120  KratosComponents<Element>().PrintData(rOStream);
121  rOStream << std::endl;
122  rOStream << "Conditions:" << std::endl;
123  KratosComponents<Condition>().PrintData(rOStream);
124  }
125 
129 
130 
132 
133 protected:
136 
137 
141 
142 
146 
147 
151 
152 
156 
157 
161 
162 
166 
167 
169 
170 private:
173 
174  // static const ApplicationCondition msApplicationCondition;
175 
179 
180  // Modelers
181  const HRomVisualizationMeshModeler mHRomVisualizationMeshModeler;
182 
186 
187 
191 
192 
196 
197 
201 
202 
206 
209 
212 
213 
215 
216 }; // Class KratosRomApplication
217 
219 
220 
223 
224 
228 
230 
231 
232 } // namespace Kratos.
233 
234 #endif // KRATOS_ROM_APPLICATION_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Modeler for setting up HROM visualization meshes This modeler is intended to be used for setting up H...
Definition: hrom_visualization_mesh_modeler.h:63
This class defines the interface with kernel for all applications in Kratos.
Definition: kratos_application.h:91
Definition: kratos_components.h:253
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: kratos_components.h:403
KratosComponents class encapsulates a lookup table for a family of classes in a generic way.
Definition: kratos_components.h:49
Short class definition.
Definition: rom_application.h:54
KRATOS_CLASS_POINTER_DEFINITION(KratosRomApplication)
Pointer definition of KratosRomApplication.
~KratosRomApplication() override
Destructor.
Definition: rom_application.h:70
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: rom_application.h:104
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: rom_application.h:111
std::string Info() const override
Turn back information as a string.
Definition: rom_application.h:98
#define KRATOS_WATCH(variable)
Definition: define.h:806
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_API_EXTERN template class KratosComponents< Condition >
Definition: condition.h:1191
KRATOS_API_EXTERN template class KratosComponents< Element >
Definition: element.h:1240