File io/src/SiconosRestart.hpp

Go to the source code of this file

provides pre-compiled functions for a full Siconos Model serialization through libSiconosIO library

namespace Siconos

SICONOS.

Functions

SP::Simulation load(const std::string &filename)

load a Siconos Model with the full simulation state from file

Return
a Simulation
Parameters
  • filename:

void save(SP::Simulation s, const std::string &filename)

save a Siconos Simulation with the full simulation state into a file

Parameters
  • s: a Simulation
  • filename: with extension : .xml, .bin (binary archive)