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.
fluid_dynamics_hydraulics_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: Ruben Zorrilla
11 //
12 
13 #pragma once
14 
15 // System includes
16 
17 
18 // External includes
19 
20 
21 // Project includes
23 
24 
25 namespace Kratos {
26 
29 
33 
37 
41 
45 
47 
49 class KRATOS_API(FLUID_DYNAMICS_HYDRAULICS_APPLICATION) KratosFluidDynamicsHydraulicsApplication : public KratosApplication {
50 public:
53 
56 
60 
63 
66 
70 
73 
77 
78  void Register() override;
79 
83 
84 
88 
89 
93 
95  std::string Info() const override
96  {
97  return "KratosFluidDynamicsHydraulicsApplication";
98  }
99 
101  void PrintInfo(std::ostream& rOStream) const override
102  {
103  rOStream << Info();
104  PrintData(rOStream);
105  }
106 
108  void PrintData(std::ostream& rOStream) const override
109  {
110  KRATOS_WATCH("in my application");
112 
113  rOStream << "Variables:" << std::endl;
115  rOStream << std::endl;
116  rOStream << "Elements:" << std::endl;
117  KratosComponents<Element>().PrintData(rOStream);
118  rOStream << std::endl;
119  rOStream << "Conditions:" << std::endl;
120  KratosComponents<Condition>().PrintData(rOStream);
121  }
122 
126 
127 
129 
130 protected:
133 
134 
138 
139 
143 
144 
148 
149 
153 
154 
158 
159 
163 
164 
166 
167 private:
170 
171  // static const ApplicationCondition msApplicationCondition;
172 
176 
177  // const Elem2D mElem2D;
178  // const Elem3D mElem3D;
179 
183 
184 
188 
189 
193 
194 
198 
199 
201 
202 }; // Class KratosFluidDynamicsHydraulicsApplication
203 
205 
208 
212 
214 
215 } // namespace Kratos.
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
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: fluid_dynamics_hydraulics_application.h:49
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: fluid_dynamics_hydraulics_application.h:108
KratosFluidDynamicsHydraulicsApplication & operator=(KratosFluidDynamicsHydraulicsApplication const &rOther)=delete
Assignment operator.
KratosFluidDynamicsHydraulicsApplication(KratosFluidDynamicsHydraulicsApplication const &rOther)=delete
Copy constructor.
std::string Info() const override
Turn back information as a string.
Definition: fluid_dynamics_hydraulics_application.h:95
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: fluid_dynamics_hydraulics_application.h:101
KRATOS_CLASS_POINTER_DEFINITION(KratosFluidDynamicsHydraulicsApplication)
Pointer definition of KratosFluidDynamicsHydraulicsApplication.
#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