← Back to team overview

yade-dev team mailing list archive

Re: renaming classes

 

> Frederic wanted to introduce prefix "Yade" for few classes that stay
> on the top. It's the absolute TOP of yade. Those that WILL BE
> declared inside yade.cpp in int main(){};

It would make more sense to have yade::Simulation, I think. Didn't you want 
to put everything into yade namespace?

> I say WILL BE, because it will happen, when singletons are removed.
> Omega will get removed, and YadeSimulation (or Simulation or World
> for that matter, since name is still not fixed) will replace MetaBody
> and Omega. Observe: Omega only serves for storing MetaBody, all other
> things it is used for are plain hacks. (dt (timestep) will be moved
> into YadeSimulation)

Yes, I know, you don't need to tell me for the 10th time that singletons are 
bad and will be removed ;-)

_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References