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.
fsi_application.h
Go to the documentation of this file.
1 //
2 // Project Name: Kratos
3 // Last Modified by: $Author: rrossi $
4 // Date: $Date: 2007-09-28 12:56:44 $
5 // Revision: $Revision: 1.4 $
6 //
7 //
8 
9 #if !defined(KRATOS_FSI_APPLICATION_H_INCLUDED)
10 #define KRATOS_FSI_APPLICATION_H_INCLUDED
11 
12 // System includes
13 #include <string>
14 #include <iostream>
15 
16 // External includes
17 
18 // Project includes
19 #include "includes/define.h"
21 #include "includes/variables.h"
22 #include "includes/fsi_variables.h"
23 
24 namespace Kratos {
25 
28 
29 class KRATOS_API(FSI_APPLICATION) KratosFSIApplication : public KratosApplication {
30  public:
33 
36 
40 
42  KratosFSIApplication() : KratosApplication("FSIApplication") {}
43 
45  ~KratosFSIApplication() override {}
46 
50 
54 
55  void Register() override;
56 
60 
64 
68 
70  std::string Info() const override { return "KratosFSIApplication"; }
71 
73  void PrintInfo(std::ostream& rOStream) const override {
74  rOStream << Info();
75  PrintData(rOStream);
76  }
77 
79  void PrintData(std::ostream& rOStream) const override{
80  KRATOS_WATCH("in FSIApplication");
82  rOStream << "Variables:" << std::endl;
84  rOStream << std::endl;
85  rOStream << "Elements:" << std::endl;
86  KratosComponents<Element>().PrintData(rOStream);
87  rOStream << std::endl;
88  rOStream << "Conditions:" << std::endl;
89  KratosComponents<Condition>().PrintData(rOStream);
90  }
91 
95 
97 
98  protected:
101 
105 
109 
113 
117 
121 
125 
127 
128  private:
131 
132  // static const ApplicationCondition msApplicationCondition;
133 
137 
141 
145 
149 
153 
157 
160 
163 
165 
166 }; // Class KratosFSIApplication
167 
169 
172 
176 
178 
179 } // namespace Kratos.
180 
181 #endif // KRATOS_FSI_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 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
Definition: fsi_application.h:29
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: fsi_application.h:79
KratosFSIApplication()
Default constructor.
Definition: fsi_application.h:42
KRATOS_CLASS_POINTER_DEFINITION(KratosFSIApplication)
Pointer definition of KratosFSIApplication.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: fsi_application.h:73
std::string Info() const override
Turn back information as a string.
Definition: fsi_application.h:70
~KratosFSIApplication() override
Destructor.
Definition: fsi_application.h:45
#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