← Back to team overview

yade-dev team mailing list archive

Re: some smaller changes

 

> If I understand correctly, DeusExMachina (DExM) and StandAloneEngine (SAE) differ only with one virtual class (hold by DExM). 
> What about making the supplementary virtual function of DExM an empty function (without =0). Then 
> remove SAEs and change the mother class of each class that inherit from SAE by DExM.  And finally rename DeusExmachina->GlobalEngine (that sound good for me). 
Principally (I think that was the original idea)
DeusExMachina::subscribedBodies enumerates bodies on which this engine
was acting, whereas it wasn't defined for StandAloneEngine.

The good think is that various (quite many, actually) per-body engines
had unified interface (subscribedBodies) for that; otherwise it would
probably be ids, bodies, subscribedBodies, subscribers, affectedBodis
etc, differently in each case. 

I will just call it PartialEngine, why not. The name can be changed
easily later.

v.





Follow ups

References