Question #680725 on Yade changed:
https://answers.launchpad.net/yade/+question/680725
Status: Open => Answered
Robert Caulk proposed the following answer:
Hello,
O.cell.trsf returns the transformation matrix [1]. O.cell.trsf[1], as
you have written, returns a vector from the matrix. The function
math.log() cannot take a vector as an argument. If you are looking for
eyy, I guess you would use O.cell.trsf[1,1] to index the float from the
matrix.
Cheers,
Robert
[1]https://yade-
dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.Cell.trsf
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp