← Back to team overview

yade-users team mailing list archive

Re: [Question #692392]: i.geom.penetrationDepth = nan after load yade.gz file

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

i.geom (assuming it is ScGeom instance) has penetrationDepth attribute,
but is is marked as noSave [1], which "avoids serialization of the
attribute" [2] (section 'attrs' -> 'Attribute flags')

If you run O.step (possibly with O.dt=0 not to affect the state of the
simulation), they should be computed.

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/ScGeom.hpp#L104
[2] https://yade-dem.org/doc/prog.html#yade-class-base-doc-macro-family

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.