Confused by identificationSpheresOnJoint.py
Dear all,
Because my research is about fractured rock mass, I decided to learn relevant examples[1].When I read identifications
1.###if isinstance(
In the above code,if we judge that Id1 corresponds to sphere and Id2 corresponds to facet,is it the same result?
2.There are relevant judgment statements about the number of joints and jointNormal1,2,3 in the code.My understanding is that the number of joints to which a particle belongs is not limited. In that way,why is jointnormal only 1,2,3.
(I noticed the words 'plane' and 'surface'. Is that the difference here?)
3.###if O.bodies[
I don't understand the meaning of #(O.bodies[
4.###if ((O.bodies[
elif ((O.bodies[
elif ((O.bodies[
else : continue ###
In the above code, it seems that there must be a judgment statement < 0.05, which is my confusion.
Many thanks for your help.
Best regards.
ps:I'm not sure whether my question follows regulations . If there is anything inappropriate, please point it out and forgive me.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ziyu Wang
- Solved:
- Last query:
- Last reply: