Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
ShamrockDump.hpp
Go to the documentation of this file.
1// -------------------------------------------------------//
2//
3// SHAMROCK code for hydrodynamics
4// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7//
8// -------------------------------------------------------//
9
10#pragma once
11
20#include "shamcomm/io.hpp"
23#include <string>
24
25namespace shamrock {
26
37 void write_shamrock_dump(std::string fname, std::string metadata_user, PatchScheduler &sched);
38
46 void load_shamrock_dump(std::string fname, std::string &metadata_user, ShamrockCtx &ctx);
47
48} // namespace shamrock
MPI scheduler.
The MPI scheduler.
namespace for the main framework
Definition __init__.py:1
void load_shamrock_dump(std::string fname, std::string &metadata_user, ShamrockCtx &ctx)
Load a Shamrock dump file and restore the state of the patches and retreive user metadata.
void write_shamrock_dump(std::string fname, std::string metadata_user, PatchScheduler &sched)
Write a Shamrock dump file containing the current state of the patches and user supplied metadata.