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.
radiation_continuum_krause.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(RADIATION_MODEL_CONTINUUM_KRAUSE_H_INCLUDED)
10 #define RADIATION_MODEL_CONTINUUM_KRAUSE_H_INCLUDED
11 
12 // System includes
13 
14 // External includes
15 
16 // Project includes
17 #include "radiation_model.h"
18 
19 namespace Kratos
20 {
21  class KRATOS_API(THERMAL_DEM_APPLICATION) RadiationContinuumKrause : public RadiationModel
22  {
23  public:
24 
25  // Pointer definition
27 
28  // Constructor / Destructor
30  virtual ~RadiationContinuumKrause();
31 
32  // Public methods
33  double ComputeHeatFlux (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
34  double FinalizeHeatFlux (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
35  void AccumulateEnvironmentTemperature (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
36 
37  // Clone
38  HeatExchangeMechanism* CloneRaw() const override {
39  HeatExchangeMechanism* cloned_model(new RadiationContinuumKrause(*this));
40  return cloned_model;
41  }
42 
43  HeatExchangeMechanism::Pointer CloneShared() const override {
44  HeatExchangeMechanism::Pointer cloned_model(new RadiationContinuumKrause(*this));
45  return cloned_model;
46  }
47 
48  // Turn back information as a string
49  virtual std::string Info() const override {
50  std::stringstream buffer;
51  buffer << "RadiationContinuumKrause";
52  return buffer.str();
53  }
54 
55  // Print object information
56  virtual void PrintInfo(std::ostream& rOStream) const override { rOStream << "RadiationContinuumKrause"; }
57  virtual void PrintData(std::ostream& rOStream) const override {}
58 
59  private:
60 
61  // Assignment operator / Copy constructor
62  RadiationContinuumKrause& operator=(RadiationContinuumKrause const& rOther) {return *this;}
63  RadiationContinuumKrause(RadiationContinuumKrause const& rOther) {*this = rOther;}
64 
65  }; // Class RadiationContinuumKrause
66 
67  // input stream function
68  inline std::istream& operator>>(std::istream& rIStream,
69  RadiationContinuumKrause& rThis) {
70  return rIStream;
71  }
72 
73  // output stream function
74  inline std::ostream& operator<<(std::ostream& rOStream,
75  const RadiationContinuumKrause& rThis) {
76  rThis.PrintInfo(rOStream);
77  rOStream << std::endl;
78  rThis.PrintData(rOStream);
79  return rOStream;
80  }
81 
82 } // namespace Kratos
83 
84 #endif // RADIATION_MODEL_CONTINUUM_KRAUSE_H_INCLUDED
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: heat_exchange_mechanism.h:28
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Definition: radiation_continuum_krause.h:22
HeatExchangeMechanism::Pointer CloneShared() const override
Definition: radiation_continuum_krause.h:43
virtual void PrintInfo(std::ostream &rOStream) const override
Definition: radiation_continuum_krause.h:56
KRATOS_CLASS_POINTER_DEFINITION(RadiationContinuumKrause)
virtual void PrintData(std::ostream &rOStream) const override
Definition: radiation_continuum_krause.h:57
virtual std::string Info() const override
Definition: radiation_continuum_krause.h:49
HeatExchangeMechanism * CloneRaw() const override
Definition: radiation_continuum_krause.h:38
Definition: radiation_model.h:23
Definition: thermal_spheric_particle.h:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432