35 #ifndef _LibDEM_Prop_BondElectrical_HPP
36 #define _LibDEM_Prop_BondElectrical_HPP
61 virtual std::string
info()
const;
64 GRANOO_ACCESS(current,
double,
_current);
77 template<
class Archive>
void serialize(Archive& ar,
const unsigned int );
89 std::ostringstream os;
93 template<
class Archive>
void
95 ar & boost::serialization::base_object<Core::Prop<Bond>>(*this);
105 #include <boost/serialization/version.hpp>
110 GRANOO_CLASS_DECLARE_TPL(DEM::BondElectrical);}
BOOST_CLASS_VERSION(GranOO3::DEM::BondElectrical, 0) namespace GranOO3
Definition: BondElectrical.hpp:106
Definition: SetOf.hpp:346
Definition: BondElectrical.hpp:51
double _resistance
Definition: BondElectrical.hpp:82
double _potential
Definition: BondElectrical.hpp:81
virtual std::string info() const
Definition: BondElectrical.hpp:88
void serialize(Archive &ar, const unsigned int)
Definition: BondElectrical.hpp:94
double get_abs_potential() const
Definition: BondElectrical.cpp:77
virtual ~BondElectrical()
Definition: BondElectrical.cpp:68
friend class boost::serialization::access
Definition: BondElectrical.hpp:76
double _current
Definition: BondElectrical.hpp:80
double get_abs_resistance() const
Definition: BondElectrical.cpp:82
double get_abs_current() const
Definition: BondElectrical.cpp:72
Definition: Common.hpp:198