Le 16/07/2010 11:12, Bruno Chareyre a écrit :
Jerome's scripts don't crash either (they start crashing in 2368 it
seems).
For now I didn't see any problem in r2367.
The only difference in 2368, compared with 2367, which could be an
only reason to let crash NormalInelasticityTest.py is the declaration
of Scene, in the go of the law2 :
- in the .cpp :
jduriez@c1solimara-l:~/yade$ bzr diff
pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.cpp -r2368..2367
=== modified file 'pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.cpp'
--- pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.cpp
2010-07-15 11:29:59 +0000
+++ pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.cpp
2010-07-12 12:57:29 +0000
@@ -16,7 +16,7 @@
-void
Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity::go(shared_ptr<InteractionGeometry>&
iG, shared_ptr<InteractionPhysics>& iP, Interaction* contact)
+void
Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity::go(shared_ptr<InteractionGeometry>&
iG, shared_ptr<InteractionPhysics>& iP, Interaction* contact, Scene*
scene)
- and in the .hpp :
jduriez@c1solimara-l:~/yade$ bzr diff
pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp -r2368..2367
=== modified file 'pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp'
--- pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp
2010-07-15 11:29:59 +0000
+++ pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp
2010-06-04 15:26:30 +0000
@@ -20,7 +20,7 @@
class Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity : public
LawFunctor
{
public :
- virtual void go(shared_ptr<InteractionGeometry>&,
shared_ptr<InteractionPhysics>&, Interaction*);
+ virtual void go(shared_ptr<InteractionGeometry>&,
shared_ptr<InteractionPhysics>&, Interaction*, Scene*);
Could it be a reason ? I'm currently compiling r2370 (once Bruno's
changes were reverted) to try if crash disappears or not.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp