← Back to team overview

yade-dev team mailing list archive

Re: renaming classes

 

Václav Šmilauer said:     (by the date of Fri, 13 Jul 2007 09:18:46 +0200)

I forgot this point:

> Why YadeSimulation - you should have YadeShape, YadeBodyOptimizedShape etc. 

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(){};

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)

Two other singletons are removed anyway, becuase they are introduced
by serialization (and because of them saving data in two threads
makes a crash -> like running two filegenerators who save result
simultaneously). When we switch to boost::serialization.

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



Follow ups

References