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.
cable_net_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: Klaus B. Sautter
11 //
12 
13 
14 #if !defined(KRATOS_CABLE_NET_APPLICATION_H_INCLUDED )
15 #define KRATOS_CABLE_NET_APPLICATION_H_INCLUDED
16 
17 
18 // System includes
19 
20 
21 // External includes
22 
23 
24 // Project includes
26 
31 
32 
33 namespace Kratos {
34 
37 
41 
45 
49 
53 
55 
57 class KRATOS_API(CABLE_NET_APPLICATION) KratosCableNetApplication : public KratosApplication {
58 public:
61 
64 
68 
71 
74 
78 
79 
83 
84  void Register() override;
85 
89 
90 
94 
95 
99 
101  std::string Info() const override
102  {
103  return "KratosCableNetApplication";
104  }
105 
107  void PrintInfo(std::ostream& rOStream) const override
108  {
109  rOStream << Info();
110  PrintData(rOStream);
111  }
112 
114  void PrintData(std::ostream& rOStream) const override
115  {
116  KRATOS_WATCH("in my application");
118 
119  rOStream << "Variables:" << std::endl;
121  rOStream << std::endl;
122  rOStream << "Elements:" << std::endl;
123  KratosComponents<Element>().PrintData(rOStream);
124  rOStream << std::endl;
125  rOStream << "Conditions:" << std::endl;
126  KratosComponents<Condition>().PrintData(rOStream);
127  }
128 
132 
133 
135 
136 protected:
139 
140 
144 
145 
149 
150 
154 
155 
159 
160 
164 
165 
169 
170 
172 
173 private:
176 
177  // static const ApplicationCondition msApplicationCondition;
178 
182 
183  const WeakSlidingElement3D3N mWeakSlidingElement3D3N;
184  const SlidingCableElement3D mSlidingCableElement3D3N;
185  const RingElement3D mRingElement3D4N;
186  const RingElement3D mRingElement3D3N;
187  const EmpiricalSpringElement3D2N mEmpiricalSpringElement3D2N;
188 
192 
193 
197 
198 
202 
203 
207 
208 
212 
215 
218 
219 
221 
222 }; // Class KratosCableNetApplication
223 
225 
226 
229 
230 
234 
236 
237 
238 } // namespace Kratos.
239 
240 #endif // KRATOS_CABLE_NET_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
This spring reads a fitted polynomial as displacement-load curve takes u and returns f.
Definition: empirical_spring.hpp:38
This class defines the interface with kernel for all applications in Kratos.
Definition: kratos_application.h:91
Short class definition.
Definition: cable_net_application.h:57
std::string Info() const override
Turn back information as a string.
Definition: cable_net_application.h:101
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: cable_net_application.h:114
~KratosCableNetApplication() override
Destructor.
Definition: cable_net_application.h:73
KRATOS_CLASS_POINTER_DEFINITION(KratosCableNetApplication)
Pointer definition of KratosCableNetApplication.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: cable_net_application.h:107
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
This is a ring elemen with 3 translational dofs per node.
Definition: ring_element_3D.hpp:37
This is a sliding node element with 3 translational dofs per node.
Definition: sliding_cable_element_3D.hpp:38
This is a penalty element to realize sliding nodes element with 3 translational dofs per node.
Definition: weak_coupling_slide.hpp:37
#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