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_zhou.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_ZHOU_H_INCLUDED)
10 #define RADIATION_MODEL_CONTINUUM_ZHOU_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) RadiationContinuumZhou : public RadiationModel
22  {
23  public:
24 
25  // Pointer definition
27 
28  // Constructor / Destructor
30  virtual ~RadiationContinuumZhou();
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 RadiationContinuumZhou(*this));
40  return cloned_model;
41  }
42 
43  HeatExchangeMechanism::Pointer CloneShared() const override {
44  HeatExchangeMechanism::Pointer cloned_model(new RadiationContinuumZhou(*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 << "RadiationContinuumZhou";
52  return buffer.str();
53  }
54 
55  // Print object information
56  virtual void PrintInfo(std::ostream& rOStream) const override { rOStream << "RadiationContinuumZhou"; }
57  virtual void PrintData(std::ostream& rOStream) const override {}
58 
59  private:
60 
61  // Assignment operator / Copy constructor
62  RadiationContinuumZhou& operator=(RadiationContinuumZhou const& rOther) {return *this;}
63  RadiationContinuumZhou(RadiationContinuumZhou const& rOther) {*this = rOther;}
64 
65  }; // Class RadiationContinuumZhou
66 
67  // input stream function
68  inline std::istream& operator>>(std::istream& rIStream,
69  RadiationContinuumZhou& rThis) {
70  return rIStream;
71  }
72 
73  // output stream function
74  inline std::ostream& operator<<(std::ostream& rOStream,
75  const RadiationContinuumZhou& 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_ZHOU_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_zhou.h:22
HeatExchangeMechanism * CloneRaw() const override
Definition: radiation_continuum_zhou.h:38
HeatExchangeMechanism::Pointer CloneShared() const override
Definition: radiation_continuum_zhou.h:43
virtual void PrintInfo(std::ostream &rOStream) const override
Definition: radiation_continuum_zhou.h:56
KRATOS_CLASS_POINTER_DEFINITION(RadiationContinuumZhou)
virtual std::string Info() const override
Definition: radiation_continuum_zhou.h:49
virtual void PrintData(std::ostream &rOStream) const override
Definition: radiation_continuum_zhou.h:57
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