← Back to team overview

yade-dev team mailing list archive

Re: Meaning of isFresh()?

 

Haha!
Actually, iterMadeReal is set near the end of intDispatch, as a consequence a fresh interaction at iteration N will be seen non-fresh by Ip and Ig functors. This isFresh value is relevant only when entering the constitutive law, which is ok as long as everything is computed in the constitutive law itself, but useless in case of precomputing.
I'll have to find another test...
Thanks for replies.

Bruno




means it cannot be used


On 08/07/10 19:22, Bruno Chareyre wrote:

FYI:

bool isReal() const {return (bool)interactionGeometry&& (bool)interactionPhysics;}

Yes, yes. I read the code a little before asking questions, you know... ;-)

The sure thing is I get nan's normals for nonFresh interactions. Still searching the reason.

Bruno


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp





Follow ups

References