30 #ifndef _LibDEM_Prop_Thermal_HPP
31 #define _LibDEM_Prop_Thermal_HPP
53 virtual std::string
info()
const;
56 GRANOO_ACCESS(capacity ,
double,
_capacity );
63 template<
class Archive>
void serialize(Archive& ar,
const unsigned int );
72 template<
class Archive>
void
74 ar & boost::serialization::base_object<Core::Prop<Element> >(*this);
86 GRANOO_CLASS_DECLARE_TPL(DEM::Thermal);
Definition: SetOf.hpp:346
a property for adding thermal physics to DEM::Element
Definition: Thermal.hpp:44
double _capacity
The thermal capacity of the element (same as the simulated material)
Definition: Thermal.hpp:66
double _conductivity
The thermal conductivity of the element (same as the simulated material)
Definition: Thermal.hpp:67
virtual std::string info() const
Definition: Thermal.cpp:58
Thermal()
constructor
Definition: Thermal.cpp:46
friend class boost::serialization::access
Definition: Thermal.hpp:62
void serialize(Archive &ar, const unsigned int)
complete serializing of the instance in the *.gdd format
Definition: Thermal.hpp:73
virtual ~Thermal()
destructor
Definition: Thermal.cpp:54
double _temperature_variation
The current temperature variation (incremental variation) of the element.
Definition: Thermal.hpp:69
double _temperature
The current temperature of the element.
Definition: Thermal.hpp:68
Definition: Common.hpp:198