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.
exaqute_sandbox_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 Tosi
11 //
12 
13 
14 #if !defined(KRATOS_EXAQUTE_SANDBOX_APPLICATION_H_INCLUDED )
15 #define KRATOS_EXAQUTE_SANDBOX_APPLICATION_H_INCLUDED
16 
17 
18 // System includes
19 
20 
21 // External includes
22 
23 
24 // Project includes
26 
27 
28 namespace Kratos {
29 
32 
36 
40 
44 
48 
50 
53 public:
56 
59 
63 
66 
69 
73 
74 
78 
79  void Register() override;
80 
84 
85 
89 
90 
94 
96  std::string Info() const override
97  {
98  return "KratosExaquteSandboxApplication";
99  }
100 
102  void PrintInfo(std::ostream& rOStream) const override
103  {
104  rOStream << Info();
105  PrintData(rOStream);
106  }
107 
109  void PrintData(std::ostream& rOStream) const override
110  {
111  KRATOS_WATCH("in my application");
113 
114  rOStream << "Variables:" << std::endl;
116  rOStream << std::endl;
117  rOStream << "Elements:" << std::endl;
118  KratosComponents<Element>().PrintData(rOStream);
119  rOStream << std::endl;
120  rOStream << "Conditions:" << std::endl;
121  KratosComponents<Condition>().PrintData(rOStream);
122  }
123 
127 
128 
130 
131 protected:
134 
135 
139 
140 
144 
145 
149 
150 
154 
155 
159 
160 
164 
165 
167 
168 private:
171 
172  // static const ApplicationCondition msApplicationCondition;
173 
177 
178  // const Elem2D mElem2D;
179  // const Elem3D mElem3D;
180 
184 
185 
189 
190 
194 
195 
199 
200 
204 
207 
210 
211 
213 
214 }; // Class KratosExaquteSandboxApplication
215 
217 
218 
221 
222 
226 
228 
229 
230 } // namespace Kratos.
231 
232 #endif // KRATOS_EXAQUTE_SANDBOX_APPLICATION_H_INCLUDED defined
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: exaqute_sandbox_application.h:52
KRATOS_CLASS_POINTER_DEFINITION(KratosExaquteSandboxApplication)
Pointer definition of KratosExaquteSandboxApplication.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: exaqute_sandbox_application.h:102
void Register() override
Definition: exaqute_sandbox_application.cpp:31
std::string Info() const override
Turn back information as a string.
Definition: exaqute_sandbox_application.h:96
KratosExaquteSandboxApplication()
Default constructor.
Definition: exaqute_sandbox_application.cpp:27
~KratosExaquteSandboxApplication() override
Destructor.
Definition: exaqute_sandbox_application.h:68
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: exaqute_sandbox_application.h:109
#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