← Back to team overview

yade-dev team mailing list archive

Re: Meaning of isFresh()?

 

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

void Interaction::reset(){
    interactionGeometry=shared_ptr<InteractionGeometry>();
    interactionPhysics=shared_ptr<InteractionPhysics>();
    init();
}

After this, the interaction is still Real, it has Ip and Ig.

Or this shared_ptr constructor is not doing what I think it does and (interactionGeometry) returns false?...





References