Parameter meaning in b.shape = PotentialBlock ()

Asked by weijie on 2020-03-16

Hello,all
       In the code cubePBscaled.py there is a line of code
bbb.shape = PotentialBlock (k = 0.0, r = r, R = 0.0, a = [1, -1,0,0,0,0], b = [0,0 , 1, -1,0,0], c = [0,0,0,0,1, -1], d = [lengthOfBase / 6.0-r, lengthOfBase / 6.0-r, 0.5 * wallThickness-r, 0.5 * wallThickness-r, lengthOfBase / 6.0-r, lengthOfBase / 6.0-r], id = len (O.bodies), isBoundary = True, color = color, wire = wire, highlight = highlight, AabbMinMax = True, minAabb = 1.05 * Vector3 (lengthOfBase / 6.0,0.5 * wallThickness, lengthOfBase / 6.0), maxAabb = 1.05 * Vector3 (lengthOfBase / 6.0,0.5 * wallThickness, lengthOfBase / 6.0), fixedNormal = False)
        What are the meanings of k, r, R, a, b, c, and d, and how should d, minAabb, maxAabb be taken?
        Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Vasileios Angelidakis
Solved:
2020-03-22
Last query:
2020-03-22
Last reply:
2020-03-16
weijie (amandajoe) said : #2

Thanks Vasileios Angelidakis, that solved my question.