35 #ifndef _LibDEM_Prop_BondStress_HPP
36 #define _LibDEM_Prop_BondStress_HPP
62 virtual std::string
info()
const;
75 template<
class Archive>
void serialize(Archive& ar,
const unsigned int );
87 std::ostringstream os;
91 template<
class Archive>
void
93 ar & boost::serialization::base_object<Core::Prop<Bond>>(*this);
104 #include <boost/serialization/version.hpp>
109 GRANOO_CLASS_DECLARE_TPL(DEM::BondStress);}
BOOST_CLASS_VERSION(GranOO3::DEM::BondStress, 0) namespace GranOO3
Definition: BondStress.hpp:105
Definition: SetOf.hpp:346
a bond property able to associate and compute a full stress tensor to bonds.
Definition: BondStress.hpp:52
Geom::SymTensor _global_stress_tensor
the stress tensor expressed in the global frame
Definition: BondStress.hpp:78
void serialize(Archive &ar, const unsigned int)
complete serializing of the instance in the *.gdd format
Definition: BondStress.hpp:92
virtual ~BondStress()
destructor
Definition: BondStress.cpp:67
virtual std::string info() const
Definition: BondStress.hpp:86
Geom::Vector _eigen_vector
the eigen vector that represent the principal stresses
Definition: BondStress.hpp:80
void update_from_bond_strain_with_hook_law(double young_modulus, double poisson_ratio)
compute the current values of the stress tensors
Definition: BondStress.cpp:73
friend class boost::serialization::access
Definition: BondStress.hpp:74
Geom::Quaternion _eigen_quaternion
a quaternion that represents the rotation matrix that gives the diagonal stress tensor
Definition: BondStress.hpp:81
Geom::SymTensor _local_stress_tensor
the stress tensor expressed in the local bond frame
Definition: BondStress.hpp:79
Definition: Quaternion.hpp:54
Definition: SymTensor.hpp:68
Definition: Vector.hpp:75
Definition: Common.hpp:198