yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16849
Re: [Question #665244]: yade.utils.getStressProfile_contact() - did not match C++ signature
Question #665244 on Yade changed:
https://answers.launchpad.net/yade/+question/665244
Status: Open => Answered
Raphaël Maurin proposed the following answer:
Dear Agastya,
getStressProfile_contact is a function to evaluate the stress tensor on
a vertical grid (along z) of spacing dz and starting from zRef.
Therefore, it returns a vector of stress tensor. This means that there
will be a problem in the line
plot.addData(i=O.iter,CN=utils.getStressProfile_contact(volume=1,ncell=10,dz=1.00,zRef=0.00))----------------------------(2)
As you are trying to plot a vector of 3x3 matrix, which does not have
any meaning.
Second, I believe that the error you are pointing out comes from the
fact that you wrote "ncell" instead of "nCell" in the abovementionned
line.
Raphael
--
You received this question notification because your team yade-users is
an answer contact for Yade.