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.
thermal_dem_application.h
Go to the documentation of this file.
1 // Kratos Multi-Physics - ThermalDEM Application
2 //
3 // License: BSD License
4 // Kratos default license: kratos/license.txt
5 //
6 // Main authors: Rafael Rangel (rrangel@cimne.upc.edu)
7 //
8 
9 #if !defined(KRATOS_THERMAL_DEM_APPLICATION_H_INCLUDED)
10 #define KRATOS_THERMAL_DEM_APPLICATION_H_INCLUDED
11 
12 // System includes
13 #include <string>
14 #include <iostream>
15 
16 // External includes
18 #include "includes/define.h"
19 #include "includes/variables.h"
21 
22 // Project includes
27 
28 namespace Kratos
29 {
30  class KRATOS_API(THERMAL_DEM_APPLICATION) KratosThermalDEMApplication : public KratosApplication
31  {
32  public:
33 
34  // Pointer definition
36 
39  virtual void Register() override;
40 
41  // Turn back information as a string
42  virtual std::string Info() const override {
43  return "KratosThermalDEMApplication";
44  }
45 
46  // Turn back information as a string
47  virtual void PrintInfo(std::ostream& rOStream) const override {
48  rOStream << Info();
49  PrintData(rOStream);
50  }
51 
52  // Print object data
53  virtual void PrintData(std::ostream& rOStream) const override {
54  rOStream << "Variables:" << std::endl;
56  rOStream << std::endl;
57  rOStream << "Elements:" << std::endl;
58  KratosComponents<Element>().PrintData(rOStream);
59  rOStream << std::endl;
60  rOStream << "Conditions:" << std::endl;
61  KratosComponents<Condition>().PrintData(rOStream);
62  }
63 
64  protected:
65 
66  private:
67 
68  // Elements
69  const ThermalSphericParticle mThermalSphericParticle;
70  const ThermalSphericContinuumParticle mThermalSphericContinuumParticle;
71  const SinteringSphericContinuumParticle mSinteringSphericContinuumParticle;
72 
73  // Assignment operator
75 
76  // Copy constructor
78 
79 }; // Class KratosThermalDEMApplication
80 } // namespace Kratos
81 
82 #endif // KRATOS_THERMAL_DEM_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
Definition: thermal_dem_application.h:31
virtual std::string Info() const override
Turn back information as a string.
Definition: thermal_dem_application.h:42
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: thermal_dem_application.h:47
virtual ~KratosThermalDEMApplication()
Definition: thermal_dem_application.h:38
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: thermal_dem_application.h:53
KRATOS_CLASS_POINTER_DEFINITION(KratosThermalDEMApplication)
Definition: sintering_spheric_continuum_particle.h:42
Definition: thermal_spheric_continuum_particle.h:41
Definition: thermal_spheric_particle.h:30
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