← Back to team overview

yade-dev team mailing list archive

Omega with several scene instances

 

Hello,

according to yade-users question #176993 and my future plans, I would
like to change Omega class to be able to store several (arbitrary
amount) of Scene objects. As it would be a core change, I would like to
know your opinion about it.

My plan is following:
- the current usage should not change (so O.switchSimulation, O.reset,
O.resetThisScene etc. will work as it works now)
- a container storing pointers to Scene objects will be added to Omega
(it will be empty initially) and corresponding methods will be
implemented (e.g. O.addAnotherScene(), O.resetSceneNumber(nb),
O.switchToSceneNumber(nb) etc.)

Before actual committing, I would like to test it in separate branch and
let you to test it as well (from this separate branch, but not influence
trunk branch), but I have no experience in this branching.. could
anybody write me a short tutorial? :-)

Thanks in advance

Jan



Follow ups