yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06076
small inconsistency
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Wed, 3 Nov 2010 20:05:51 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
after a bzr update my script halted with this error:
FATAL yade.InteractionLoop pkg/common/InteractionLoop.cpp:151 action:
None of given Law2 functors can handle interaction #2547+2271, types
geom:ScGeom=1 and phys:CohFrictPhys=6 (LawDispatcher::getFunctor2D
returned empty functor)
It turns out that Law2_ScGeom_CohFrictPhys_CohesionMoment is
accepting ScGeom6D arguments now. So maybe better to call it
Law2_ScGeom6D_CohFrictPhys_CohesionMoment (added "6D" to the name).
I was able to fix my script, so now it runs, by changing following:
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_2xCohFrictMat_CohFrictPhys()],
[Law2_ScGeom_CohFrictPhys_CohesionMoment(always_use_moment_law=use_moments)]
),
into
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Box_Sphere_ScGeom6D()],
[Ip2_2xCohFrictMat_CohFrictPhys()],
[Law2_ScGeom_CohFrictPhys_CohesionMoment(always_use_moment_law=use_moments)]
),
and it would be consistent if I also had to add "6D" in the name of
Law2 functor.
I guess that it is due to switching to ScGeom6D everywhere?
--
Janek Kozicki http://janek.kozicki.pl/ |
Follow ups