← Back to team overview

yade-users team mailing list archive

Re: [Question #694168]: Segmentation fault due to the interaction

 

Question #694168 on Yade changed:
https://answers.launchpad.net/yade/+question/694168

    Status: Open => Answered

Jan Stránský proposed the following answer:
> I am sorry for the way I asked

for the first time it is acceptable :-)

> I am using a script file.

then run the file (producing the segmentation fault), just with "catchsegv" before it, and provide the output
so e.g. if you run
yade script.py
then provide output of
catchsegv yade script.py

> I do not understand how to use Ig2, Ip2 and Law2 for my case.

see e.g. [1]
this should work:
###
 InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Wall_Aabb()],), # no need to double Bo1_Sphere_Aabb
 InteractionLoop(
   [Ig2_Sphere_Sphere_ScGeom(),Ig2_Wall_Sphere_ScGeom()], # ig2 list, no need to double Ig2_Sphere_Sphere_ScGeom
   [Ip2_FrictMat_FrictMat_FrictPhys()], # ip2 list (just one list!)
   [Law2_ScGeom_FrictPhys_CundallStrack()]), # law2 list
###

cheers
Jan

[1] https://yade-dem.org/doc/user.html#functors-choice

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.