35 #ifndef _LibDEM_Prop_Strain_HPP
36 #define _LibDEM_Prop_Strain_HPP
63 virtual std::string
info()
const;
76 template<
class Archive>
void serialize(Archive& ar,
const unsigned int );
89 std::ostringstream os;
93 template<
class Archive>
void
96 ar & boost::serialization::base_object<Core::Prop<Element>>(*this);
105 #include <boost/serialization/version.hpp>
110 GRANOO_CLASS_DECLARE_TPL(DEM::Strain);}
BOOST_CLASS_VERSION(GranOO3::DEM::Strain, 0) namespace GranOO3
Definition: Strain.hpp:106
Definition: SetOf.hpp:346
a property for computing strain associated to DEM::Element
Definition: Strain.hpp:53
Geom::SymTensor _strain_tensor
the strain tensor which is the main result of this property
Definition: Strain.hpp:80
void init()
just clear (set to zero) the _displacement_gradient and the _strain_tensor attributes
Definition: Strain.cpp:69
void update_lsq(bool ignore_cracked_bond)
update the strain tensors using the least quare method (lsq)
Definition: Strain.cpp:76
void serialize(Archive &ar, const unsigned int)
complete serializing of the item in the *.gdd format
Definition: Strain.hpp:94
virtual ~Strain()
destructor
Definition: Strain.cpp:64
friend class boost::serialization::access
Definition: Strain.hpp:75
virtual std::string info() const
Display some useful info in the terminal
Definition: Strain.hpp:87
Geom::Tensor _displacement_gradient
the displacement gradient tensor (be aware, this tensor is not symmetrical)
Definition: Strain.hpp:79
Definition: SymTensor.hpp:68
Definition: Tensor.hpp:62
Definition: Common.hpp:198