That is right. The last compilable version with WM3 is about r2230.
2010/5/28 luc scholtes <[email protected]> > Hi guys, > > In order to investigate why CFpm does not work in new yade version, I tried > to compile version 2258 with wm3 features (just did a "scons features='wm3' > " after a first successful default build), but I got this compilation error: > > In file included from /.../build-wm3/plugins3.cpp:2: > /.../yade/pkg/dem/DataClass/InteractionGeometry/Dem3DofGeom_FacetSphere.cpp: > In member function 'virtual Vector3r > Dem3DofGeom_FacetSphere::scaleDisplacementT(Real)': > /.../yade/pkg/dem/DataClass/InteractionGeometry/Dem3DofGeom_FacetSphere.cpp:46: > error: no match for 'operator*' in '2 * diff' > scons: *** [/.../build-wm3/plugins3.os] Error 1 > > Is it due to a 'non compatibility' to wm3, or did I miss something in my > compilation order? > > Thanks for advices > > Luc > > > 2010/5/28 <[email protected]> > >> ------------------------------------------------------------ >> revno: 2258 >> fixes bug(s): https://launchpad.net/bugs/585898 >> committer: Anton Gladky <[email protected]> >> branch nick: trunk >> timestamp: Fri 2010-05-28 00:07:26 +0200 >> message: >> Blocking the crashing string in ElasticContactLaw >> modified: >> pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp >> >> >> -- >> lp:yade >> https://code.launchpad.net/~yade-dev/yade/trunk<https://code.launchpad.net/%7Eyade-dev/yade/trunk> >> >> Your team Yade developers is subscribed to branch lp:yade. >> To unsubscribe from this branch go to >> https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription<https://code.launchpad.net/%7Eyade-dev/yade/trunk/+edit-subscription> >> >> === modified file 'pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp' >> --- pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp 2010-05-26 >> 14:44:07 +0000 >> +++ pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp 2010-05-27 >> 22:07:26 +0000 >> @@ -127,7 +127,9 @@ >> Real trialFsSq = trialFs.squaredNorm(); >> if(trialFsSq>maxFsSq){ >> Real multiplier=sqrt(maxFsSq/trialFsSq); >> - geom->scaleDisplacementT(multiplier); >> trialFs*=multiplier;} >> + //geom->scaleDisplacementT(multiplier); >> + trialFs*=multiplier; >> + } >> phys->shearForce=trialFs; >> >> >> applyForceAtContactPoint(phys->normalForce+trialFs,geom->contactPoint,contact->getId1(),geom->se31.position,contact->getId2(),geom->se32.position,scene); >> >> } >> >> >> _______________________________________________ >> Mailing list: >> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> >> Post to : [email protected] >> Unsubscribe : >> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> >> More help : https://help.launchpad.net/ListHelp >> >> > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

