Question #633047 on Yade changed:
https://answers.launchpad.net/yade/+question/633047

Luc Scholtès proposed the following answer:
Hi Xavier,

In addition to Robert's comment I must say that you need to call the
functionality correctly.

Yade does not "know" what is totalShearCracksE if you don't mention that
it is coming from the law functor.

You have to:

1) define a label for the law functor:

Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(recordCracks=True,
label='lawFunctor')

2) call it using:

lawFunctor.totalShearCracksE

I thought I uploaded a working script to illustrate this when I commited
this functionality but it does not appear in the
/examples/jointedFrictionalPM directory... I'll try another time.

Luc

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to