← Back to team overview

yade-dev team mailing list archive

Re: Dem3DOFGeom : ScGeom

 

It crashes in r2368 Jerome. Thanks for testing.

Bruno

On 16/07/10 11:25, Jerome Duriez wrote:


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



--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________




Follow ups

References