yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02400
Re: Engine structure question
Can we change it somehow to a more logic names?
Or we have a risk of breakage a lot of code?
______________________________
Anton Gladkyy
2009/11/30 Václav Šmilauer <eudoxos@xxxxxxxx>
> > 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.)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
References