API Changes

From Yade

Revision as of 18:06, 3 December 2009 by Eudoxos (talk | contribs)

This page should track invasive changes in yade interface so that people porting older code have some guidelines. Always link to the changeset at launchpad. Keep the contect reverse-chronological (newest first)

r1835, r1836 1.12.2009

  • Rename MetaEngine → Dispatcher, EngineUnit → Functor.
  • Rename related classes as well (InteractionGeometryMetaEngine → InteractionGeometryFunctor &c)
  • Rename MetaBody to World
  • Add Engine::world which always holds pointer to current world. It will (in the future) replace World* being passed in calls to Engines all the time.

r1806 21.11.2009

  • PhysicalParameters were replaced by Material and State classes. Material_and_State_classes shows how to migrate, 'physpar' feature turns compilationof old code on.

r1789 17.11.2009

  • GeometricalModel classes were removed, they are functionally replaced by InteractingGeometry. Files depending on GeometricalModel are compiled only with the 'shape' feature on.
  • Don't compile (remove later) dispatchers & functors depending on GeometricalModel (InteractingGeometryMetaEngine)