[Yade-dev] : yade --test fails after some changes in WirePM

2012-01-12 Thread Klaus Thoeni
Hi guys,

I am just adding some new capabilities to my WirePM and doing some cleaning-
up. When running some tests with the new code everything is fine. But when 
running 'yade --test' I get this:

==
FAIL: testSaveAllClasses (yade.TestIO)
I/O: All classes can be saved and loaded with boost::serialization
--
Traceback (most recent call last):
  File /home/thoeni/YADE-bzr/install/lib/yade-bzr2988/py/yade/tests/core.py, 
line 79, in testSaveAllClasses
self.assert_(len(failed)==0,'Failed classes were: '+' '.join(failed))
AssertionError: Failed classes were: WireMat
--

Any idea to what this could be related to?

Thanks,

Klaus

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] : yade --test fails after some changes in WirePM

2012-01-12 Thread Jérôme Duriez

A typo/error in

YADE_CLASS_BASE_DOC_ATTRS_CTOR(...)

??


Le 12/01/2012 08:13, Klaus Thoeni a écrit :

Hi guys,

I am just adding some new capabilities to my WirePM and doing some cleaning-
up. When running some tests with the new code everything is fine. But when
running 'yade --test' I get this:

==
FAIL: testSaveAllClasses (yade.TestIO)
I/O: All classes can be saved and loaded with boost::serialization
--
Traceback (most recent call last):
   File /home/thoeni/YADE-bzr/install/lib/yade-bzr2988/py/yade/tests/core.py,
line 79, in testSaveAllClasses
 self.assert_(len(failed)==0,'Failed classes were: '+' '.join(failed))
AssertionError: Failed classes were: WireMat
--

Any idea to what this could be related to?

Thanks,

Klaus

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp



--
Jerome Duriez
Post-Doctorant LTDS (Ecole Centrale de Lyon)
04.72.18.62.17



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] : yade --test fails after some changes in WirePM

2012-01-12 Thread Anton Gladky
Hi Klaus,

it would be good if you show the diff (patch).

Thanks.

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] : Avoid new contact detection between group of particle

2012-01-12 Thread Bruno Chareyre
Yes, it is like a deformable clumps.

 Something else I had in mined, the collider could check the material of two 
 bodies and if it is of type WireMat then do nothing. What do you think?

It would work but it would be ugly to include WireMat.hpp in the
collider's code.
I'm thinking we could have a global selfInteractionMask, so that if
mask1==mask2  !(mask1  selfInteractionMask), we skip.

Bruno


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp