> just to be sure, if I need to ask if the interaction has just been > created (so that it is new) should I use isFresh? If so, is this > exaclty the same as asking if both the geometry and physics functors > have just been instantiated?
Yes, that's exactly it; if you look at Interaction::isFresh() definition, it checks Interaction::iterMadeReal, which is assigned in InteractionDispatchers if the interaction was potential and now has both geom and phys created. It was meant to be used in constitutive laws, to initialize stuff as needed. Cheers, v. _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

