Sorry, I still do not understand, why do you need to change Serializable.hpp If you need to add some more parameters to WireMat, you simply add it.
Please, see attached diff. strainStressValues1 and strainStressValues2 are added and the code compiles just fine. But if you want to add it to the main trunk, please, contact Klaus Thoeni for those changes. Anton
=== modified file 'pkg/dem/WirePM.hpp' --- pkg/dem/WirePM.hpp 2011-04-18 08:00:23 +0000 +++ pkg/dem/WirePM.hpp 2011-04-26 14:15:22 +0000 @@ -45,6 +45,8 @@ YADE_CLASS_BASE_DOC_ATTRS_CTOR(WireMat,FrictMat,"Material for use with the Wire classes", ((Real,diameter,0.0027,," (Diameter of the single wire in [m] (the diameter is used to compute the cross-section area of the wire).")) ((vector<Vector2r>,strainStressValues,,Attr::triggerPostLoad,"Piecewise linear definition of the stress-strain curve by set of points (strain[-]>0,stress[Pa]>0) for one single wire. Tension only is considered and the point (0,0) is not needed!")) + ((vector<Vector2r>,strainStressValues1,,Attr::triggerPostLoad,"Piecewise linear definition of the stress-strain curve by set of points (strain[-]>0,stress[Pa]>0) for one single wire. Tension only is considered and the point (0,0) is not needed!")) + ((vector<Vector2r>,strainStressValues2,,Attr::triggerPostLoad,"Piecewise linear definition of the stress-strain curve by set of points (strain[-]>0,stress[Pa]>0) for one double wire. Tension only is considered and the point (0,0) is not needed!")) ((bool,isDoubleTwist,false,,"Type of the mesh. If true two particles of the same material which body ids differ by one will be considered as double-twisted interaction.")) ((Real,lambdaEps,0.4,,"Parameter between 0 and 1 to reduce the failure strain of the double-twisted wire (as used by [Bertrand2008]_). [-]")) ((Real,lambdak,0.21,,"Parameter between 0 and 1 to compute the elastic stiffness of the double-twisted wire (as used by [Bertrand2008]_): $k^D=2(\\lambda_k k_h + (1-\\lambda_k)k^S)$. [-]"))
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

