Author: eudoxos
Date: 2009-03-04 10:29:01 +0100 (Wed, 04 Mar 2009)
New Revision: 1711
Modified:
trunk/extra/Brefcom.hpp
trunk/pkg/mass-spring/SConscript
Log:
1. change default xiShear to 0 instead of NaN (is not used anyway)
2. Fix linking of mass-spring in cliean build
Modified: trunk/extra/Brefcom.hpp
===================================================================
--- trunk/extra/Brefcom.hpp 2009-03-04 07:00:46 UTC (rev 1710)
+++ trunk/extra/Brefcom.hpp 2009-03-04 09:29:01 UTC (rev 1711)
@@ -224,7 +224,8 @@
BrefcomMakeContact(){
// init to signaling_NaN to force crash if not
initialized (better than unknowingly using garbage values)
-
sigmaT=xiShear=epsCrackOnset=relDuctility=G_over_E=transStrainCoeff=std::numeric_limits<Real>::signaling_NaN();
+
sigmaT=epsCrackOnset=relDuctility=G_over_E=transStrainCoeff=std::numeric_limits<Real>::signaling_NaN();
+ xiShear=0;
neverDamage=false;
cohesiveThresholdIter=-1;
tau=-1; expDmgRate=0;
Modified: trunk/pkg/mass-spring/SConscript
===================================================================
--- trunk/pkg/mass-spring/SConscript 2009-03-04 07:00:46 UTC (rev 1710)
+++ trunk/pkg/mass-spring/SConscript 2009-03-04 09:29:01 UTC (rev 1711)
@@ -65,7 +65,6 @@
'PersistentSAPCollider',
'Box',
'SDECLinkGeometry',
- 'SAPCollider',
'RigidBodyParameters',
'BodyMacroParameters',
'MetaInteractingGeometry2AABB',
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp