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.
delaunay_meshing_application.h
Go to the documentation of this file.
1 //----------------------------------------------------------
2 // ___ _ .
3 // KRATOS| \ ___| |__ _ _ _ _ _ __ _ _ _ .
4 // | |) / -_| / _` | || | ' \/ _` | || | .
5 // |___/\___|_\__,_|\_,_|_||_\__,_|\_, |MESHING .
6 // |__/ .
7 // .
8 // License:(BSD) DelaunayMeshingApplication/license.txt .
9 // Main authors: Josep Maria Carbonell .
10 // .. .
11 //----------------------------------------------------------
12 //
13 // Project Name: KratosDelaunayMeshingApplication $
14 // Created by: $Author: JMCarbonell $
15 // Last modified by: $Co-Author: $
16 // Date: $Date: April 2018 $
17 // Revision: $Revision: 0.0 $
18 //
19 //
20 
21 #if !defined(KRATOS_DELAUNAY_MESHING_APPLICATION_H_INCLUDED )
22 #define KRATOS_DELAUNAY_MESHING_APPLICATION_H_INCLUDED
23 
24 // System includes
25 
26 // External includes
27 
28 // Project includes
29 
30 // Core applications
31 
32 //conditions
34 
36 
38 
39 namespace Kratos
40 {
43 
46 
50 
54 
58 
62 
64 
66  class KRATOS_API(DELAUNAY_MESHING_APPLICATION) KratosDelaunayMeshingApplication : public KratosApplication
67  {
68  public:
69 
70 
73 
76 
80 
83 
86 
87 
94 
95  void Register() override;
96 
106 
108  std::string Info() const override
109  {
110  return "KratosDelaunayMeshingApplication";
111  }
112 
114  void PrintInfo(std::ostream& rOStream) const override
115  {
116  rOStream << Info();
117  PrintData(rOStream);
118  }
119 
121  void PrintData(std::ostream& rOStream) const override
122  {
123  KRATOS_WATCH( "in KratosDelaunayMeshingApplication" )
125  rOStream << "Variables:" << std::endl;
127  rOStream << std::endl;
128  rOStream << "Conditions:" << std::endl;
129  KratosComponents<Condition>().PrintData(rOStream);
130  }
131 
132 
136 
137 
139 
140  protected:
162 
163  private:
169 
170  const CompositeCondition mCompositeCondition2D2N;
171  const CompositeCondition mCompositeCondition3D3N;
172 
188 
191 
194 
196 
197  }; // Class KratosDelaunayMeshingApplication
198 
200 
201 
208 
209 
210 } // namespace Kratos.
211 
212 #endif // KRATOS_DELAUNAY_MESHING_APPLICATION_H_INCLUDED defined
213 
214 
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Updated Total Lagrangian element for 2D and 3D geometries.
Definition: composite_condition.hpp:49
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: delaunay_meshing_application.h:67
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: delaunay_meshing_application.h:121
std::string Info() const override
Turn back information as a string.
Definition: delaunay_meshing_application.h:108
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: delaunay_meshing_application.h:114
KRATOS_CLASS_POINTER_DEFINITION(KratosDelaunayMeshingApplication)
Pointer definition of KratosDelaunayMeshingApplication.
virtual ~KratosDelaunayMeshingApplication()
Destructor.
Definition: delaunay_meshing_application.h:85
#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