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