Serialization module
Serialization and reconstruction of library objects.
archive << values;
Boost.Serialization adapters store arrays, Eigen-compatible dense matrices, flat containers, and optional values. The export registrations cover selected ParametricTransformation instantiations used in MPI shard transfer. Including the relevant adapter headers enables binary archives of supported numerical data and container structures.
Representative use
Include the adapter for a stored type before using it with a Boost archive. For example, a Rodin array can be written to a binary archive over a stream:
#include <Rodin/Serialization/Array.h> #include <boost/archive/binary_oarchive.hpp> Array<Real> values(3); values << 1, 2, 3; boost::archive::binary_oarchive archive(stream); archive << values;