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.
trilinos_application.h
Go to the documentation of this file.
1 // KRATOS _____ _ _ _
2 // |_ _| __(_) (_)_ __ ___ ___
3 // | || '__| | | | '_ \ / _ \/ __|
4 // | || | | | | | | | | (_) \__
5 // |_||_| |_|_|_|_| |_|\___/|___/ APPLICATION
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Riccardo Rossi
11 //
12 
13 #if !defined(KRATOS_TRILINOS_APPLICATION_H_INCLUDED)
14 #define KRATOS_TRILINOS_APPLICATION_H_INCLUDED
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "includes/define.h"
23 
24 namespace Kratos {
25 
28 
29 // Variables definition
30 
34 
38 
42 
46 
48 
50 class KRATOS_API(TRILINOS_APPLICATION) KratosTrilinosApplication : public KratosApplication {
51  public:
54 
57 
61 
63  KratosTrilinosApplication() : KratosApplication("TrilinosApplication") {}
64 
67 
71 
75 
76  void Register() override;
77 
81 
85 
89 
91  std::string Info() const override { return "KratosTrilinosApplication"; }
92 
94  void PrintInfo(std::ostream& rOStream) const override {
95  rOStream << Info();
96  PrintData(rOStream);
97  }
98 
100  void PrintData(std::ostream& rOStream) const override {
101  KRATOS_WATCH("in KratosMeshMovingApplication application");
103  rOStream << "Variables:" << std::endl;
105  rOStream << std::endl;
106  rOStream << "Elements:" << std::endl;
107  KratosComponents<Element>().PrintData(rOStream);
108  rOStream << std::endl;
109  rOStream << "Conditions:" << std::endl;
110  KratosComponents<Condition>().PrintData(rOStream);
111  }
112 
116 
118 
119  protected:
122 
126 
130 
134 
138 
142 
146 
148 
149  private:
152 
153  // static const ApplicationCondition msApplicationCondition;
154 
158 
162 
166 
170 
174 
178 
181  KratosTrilinosApplication const& rOther);
182 
185 
187 
188 }; // Class KratosTrilinosApplication
189 
191 
194 
198 
200 
201 } // namespace Kratos.
202 
203 #endif // KRATOS_TRILINOS_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
Short class definition.
Definition: trilinos_application.h:50
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: trilinos_application.h:94
KRATOS_CLASS_POINTER_DEFINITION(KratosTrilinosApplication)
Pointer definition of KratosTrilinosApplication.
std::string Info() const override
Turn back information as a string.
Definition: trilinos_application.h:91
~KratosTrilinosApplication() override
Destructor.
Definition: trilinos_application.h:66
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: trilinos_application.h:100
KratosTrilinosApplication()
Default constructor.
Definition: trilinos_application.h:63
#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