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.
indirect_conduction_surround_layer.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(INDIRECT_CONDUCTION_MODEL_SURROUNDING_LAYER_H_INCLUDED)
10 #define INDIRECT_CONDUCTION_MODEL_SURROUNDING_LAYER_H_INCLUDED
11 
12 // System includes
13 
14 // External includes
15 
16 // Project includes
19 
20 namespace Kratos
21 {
22  class KRATOS_API(THERMAL_DEM_APPLICATION) IndirectConductionSurroundLayer : public IndirectConductionModel
23  {
24  public:
25 
26  // Pointer definition
28 
29  // Constructor / Destructor
32 
33  // Public methods
34  double GetSearchDistance (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
35  double ComputeHeatFlux (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
36  double SphereWallCoeff (const ProcessInfo& r_process_info, ThermalSphericParticle* particle);
37  double SphereSphereCoeff (const ProcessInfo& r_process_info, ThermalSphericParticle* particle);
38  static double EvalIntegrandSurrLayer (NumericalIntegrationMethod* method);
39 
40  // Clone
41  HeatExchangeMechanism* CloneRaw() const override {
43  return cloned_model;
44  }
45 
46  HeatExchangeMechanism::Pointer CloneShared() const override {
47  HeatExchangeMechanism::Pointer cloned_model(new IndirectConductionSurroundLayer(*this));
48  return cloned_model;
49  }
50 
51  // Turn back information as a string
52  virtual std::string Info() const override {
53  std::stringstream buffer;
54  buffer << "IndirectConductionSurroundLayer";
55  return buffer.str();
56  }
57 
58  // Print object information
59  virtual void PrintInfo(std::ostream& rOStream) const override { rOStream << "IndirectConductionSurroundLayer"; }
60  virtual void PrintData(std::ostream& rOStream) const override {}
61 
62  private:
63 
64  // Assignment operator / Copy constructor
66  IndirectConductionSurroundLayer(IndirectConductionSurroundLayer const& rOther) {*this = rOther;}
67 
68  }; // Class IndirectConductionSurroundLayer
69 
70  // input stream function
71  inline std::istream& operator>>(std::istream& rIStream,
73  return rIStream;
74  }
75 
76  // output stream function
77  inline std::ostream& operator<<(std::ostream& rOStream,
78  const IndirectConductionSurroundLayer& rThis) {
79  rThis.PrintInfo(rOStream);
80  rOStream << std::endl;
81  rThis.PrintData(rOStream);
82  return rOStream;
83  }
84 
85 } // namespace Kratos
86 
87 #endif // INDIRECT_CONDUCTION_MODEL_SURROUNDING_LAYER_H_INCLUDED
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: heat_exchange_mechanism.h:28
Definition: indirect_conduction_model.h:23
Definition: indirect_conduction_surround_layer.h:23
HeatExchangeMechanism::Pointer CloneShared() const override
Definition: indirect_conduction_surround_layer.h:46
virtual void PrintInfo(std::ostream &rOStream) const override
Definition: indirect_conduction_surround_layer.h:59
virtual std::string Info() const override
Definition: indirect_conduction_surround_layer.h:52
virtual void PrintData(std::ostream &rOStream) const override
Definition: indirect_conduction_surround_layer.h:60
HeatExchangeMechanism * CloneRaw() const override
Definition: indirect_conduction_surround_layer.h:41
KRATOS_CLASS_POINTER_DEFINITION(IndirectConductionSurroundLayer)
Definition: numerical_integration_method.h:23
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
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