Dear all, I just commited an additional change to the interface of
Pandora in the way of merging Simulation and Config classes into a new
Config class containing all the parameters of the simulation.
The commit is this one:
https://github.com/xrubio/pandora/commit/f8ee422a480513c70781d8252df0ca8849280993
Previous main functions like this one:
Examples::RandomWorldConfig config;
config.deserialize(fileName);
Engine::Simulation helloWorldSim(config.getSize(),
config.getNumSteps(), config.getSerializeResolution());
Examples::RandomWorld world( config, helloWorldSim,
world.useOpenMPSingleNode(config.getResultsFile()));
Are now simplified in this way:
Examples::RandomWorldConfig * config = new Examples::RandomWorldConfig(fileName)
Examples::RandomWorld world(config, world.useOpenMPSingleNode());
In addition there is now a python Config class that can be used to
create custom configs (from parameters or from xml files).
All best,
Xavi