yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14596
Re: [Question #611087]: I got a wrong damage ratio
Question #611087 on Yade changed:
https://answers.launchpad.net/yade/+question/611087
De zhang proposed the following answer:
change the code as flowing:
def addPlotData():
damageRatio=numBroCohBonds/float(numBroCohBonds+sumCohBonds)
plot.addData(t=O.time,dr=damageRatio)
haha~~
--
You received this question notification because your team yade-users is
an answer contact for Yade.