35 #ifndef _LibDEM_Prop_BondStrain_HPP
36 #define _LibDEM_Prop_BondStrain_HPP
62 virtual std::string
info()
const;
75 template<
class Archive>
void serialize(Archive& ar,
const unsigned int );
85 std::ostringstream os;
89 template<
class Archive>
void
91 ar & boost::serialization::base_object<Core::Prop<Bond>>(*this);
100 #include <boost/serialization/version.hpp>
105 GRANOO_CLASS_DECLARE_TPL(DEM::BondStrain);}
BOOST_CLASS_VERSION(GranOO3::DEM::BondStrain, 0) namespace GranOO3
Definition: BondStrain.hpp:101
Definition: SetOf.hpp:346
a bond property able to associate and compute a full strain tensor to DEM::Bond
Definition: BondStrain.hpp:52
void serialize(Archive &ar, const unsigned int)
complete serializing of the instance in the *.gdd format
Definition: BondStrain.hpp:90
void init()
initialize the current value of the strain tensors
Definition: BondStrain.cpp:69
Geom::SymTensor _global_strain_tensor
the strain tensor expressed in the global frame
Definition: BondStrain.hpp:79
virtual std::string info() const
Definition: BondStrain.hpp:84
Geom::SymTensor _local_strain_tensor
the strain tensor expressed in the local bond frame
Definition: BondStrain.hpp:78
virtual ~BondStrain()
destructor
Definition: BondStrain.cpp:64
void update()
compute the current values of the strain tensors
Definition: BondStrain.cpp:76
friend class boost::serialization::access
Definition: BondStrain.hpp:74
Definition: SymTensor.hpp:68
Definition: Common.hpp:198