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.
metis_application.h
Go to the documentation of this file.
1 //
2 // Project Name: Kratos
3 // Last Modified by: $Author: pooyan $
4 // Date: $Date: 2008-04-21 13:33:42 $
5 // Revision: $Revision: 1.1 $
6 //
7 //
8 
9 #if !defined(KRATOS_KRATOS_METIS_APPLICATION_H_INCLUDED )
10 #define KRATOS_KRATOS_METIS_APPLICATION_H_INCLUDED
11 
12 // System includes
13 
14 // External includes
15 
16 // Project includes
17 #include "includes/define.h"
19 
20 namespace Kratos
21 {
22 
25 
26 // Variables definition
27 /* KRATOS_DEFINE_VARIABLE(double, NODAL_AREA)
28  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS(NORMAL_TO_WALL)
29 */
30 
34 
38 
42 
46 
48 
51 {
52 public:
55 
56 
59 
63 
66 
69 
70 
74 
75 
79 
80  void Register() override;
81 
82 
83 
87 
88 
92 
93 
97 
99  std::string Info() const override
100  {
101  return "KratosMetisApplication";
102  }
103 
105  void PrintInfo(std::ostream& rOStream) const override
106  {
107  rOStream << Info();
108  PrintData(rOStream);
109  }
110 
112  void PrintData(std::ostream& rOStream) const override
113  {
114  KRATOS_WATCH("in KratosMetisApplication");
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 
126 
130 
131 
133 
134 protected:
137 
138 
142 
143 
147 
148 
152 
153 
157 
158 
162 
163 
167 
168 
170 
171 private:
174 
175 
179 
180 
181 
185 
186 
190 
191 
195 
196 
200 
201 
205 
207  KratosMetisApplication& operator=(KratosMetisApplication const& rOther);
208 
211 
212 
214 
215 }; // Class KratosMetisApplication
216 
218 
219 
222 
223 
227 
229 
230 
231 } // namespace Kratos.
232 
233 #endif // KRATOS_KRATOS_METIS_APPLICATION_H_INCLUDED defined
234 
235 
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: metis_application.h:51
KratosMetisApplication()
Default constructor.
Definition: metis_application.cpp:18
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: metis_application.h:105
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: metis_application.h:112
void Register() override
Definition: metis_application.cpp:21
std::string Info() const override
Turn back information as a string.
Definition: metis_application.h:99
KRATOS_CLASS_POINTER_DEFINITION(KratosMetisApplication)
Pointer definition of KratosMetisApplication.
~KratosMetisApplication() override
Destructor.
Definition: metis_application.h:68
#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