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/  |

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to