← Back to team overview

yade-dev team mailing list archive

Re: Engine structure question

 

> 2- The less clear part :
> Standalone and DeusExMachina engines can work alone (they don't call 
> other engines, neither are they called by others).
> So, what is the difference between them? On the programming side, no 
> real difference (except a few differences in members of base classes). 

The only real difference is that there is
DeuxExMachina::subscribedBodies, which probably means that it was
supposed to affect only some bodies, in contrast to StandAloneEngine,
which operates on the whole simulation.

I would have no objection to putting subscribedBodies (or subscribers or
such) to StandAloneEngine itself and get rid of the difference.

BTW MetaEngines should (will ;-) ) be called Dispatchers (since that is
what they do) and EngineUnits should be Functors. (Olivier must have had
some perverse fetishism for VeryLongAndExplanatoryNames.)




Follow ups

References