ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
WalberlaCheckpoint.hpp File Reference
#include <config/config.hpp>
#include "script_interface/Context.hpp"
#include <utils/Vector.hpp>
#include <boost/mpi/collectives/broadcast.hpp>
#include <filesystem>
#include <fstream>
#include <ios>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for WalberlaCheckpoint.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ScriptInterface::walberla::CheckpointFile
 Handle for a checkpoint file. More...

Namespaces

namespace  ScriptInterface
namespace  ScriptInterface::walberla

Enumerations

enum class  ScriptInterface::walberla::CptMode : int { ScriptInterface::walberla::ascii = 0 , ScriptInterface::walberla::binary = 1 , ScriptInterface::walberla::unit_test_runtime_error = -1 , ScriptInterface::walberla::unit_test_ios_failure = -2 }

Functions

void ScriptInterface::walberla::unit_test_handle (int mode)
 Inject code for unit tests.
template<typename F1, typename F2, typename F3>
void ScriptInterface::walberla::load_checkpoint_common (Context const &context, std::string const classname, std::filesystem::path const &path, int mode, F1 const read_metadata, F2 const read_data, F3 const on_success)
template<typename F1, typename F2, typename F3>
void ScriptInterface::walberla::save_checkpoint_common (Context const &context, std::string const classname, std::filesystem::path const &path, int mode, F1 const write_metadata, F2 const write_data, F3 const on_failure)