← Back to team overview

yade-dev team mailing list archive

Re: calling EngineUnit::go to create persistent interaction?

 

> Secondly, I would like to use dispatcher for this: take b1, b2 and say
> something like
> InteractionGeometryMetaEngine::oneAction(b1,b2,interaction) that would
> in turn call
> InteractionGeometryMetaEngine::operator()(b1->interactingGeometry ,
> b2->interactingGeometry, b1->physicalParameters->se3,
> b2->physicalParameters->se3, interaction); sounds OK to you, Janek?
>   
OK, implemented in 1538,
InteractionGeometryMetaEngine::explicitAction(...) and
InteractionPhysicsMetaEngine::explicitAction(...); see
Shop::createExplicitInteraction for the use and
scripts/chain-distant-interactions.py for a very simple example.

Vaclav




References