![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamrock/patch/Patch.hpp"#include "shamrock/scheduler/PatchTreeNode.hpp"#include <nlohmann/json.hpp>#include <unordered_set>
Include dependency graph for PatchTree.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | shamrock::scheduler::PatchTree |
| Patch Tree : Tree structure organisation for an abstract list of patches Nb : this tree is compatible with multiple roots cf value in roots_id. More... | |
Namespaces | |
| namespace | shamrock |
| namespace for the main framework | |
Functions | |
| void | shamrock::scheduler::to_json (nlohmann::json &j, const PatchTree &p) |
| Serializes a PatchTree object into a JSON object. | |
| void | shamrock::scheduler::from_json (const nlohmann::json &j, PatchTree &p) |
| Deserializes a JSON object into a PatchTree object. | |
Definition in file PatchTree.hpp.
| void shamrock::scheduler::from_json | ( | const nlohmann::json & | j, |
| PatchTree & | p | ||
| ) |
Deserializes a JSON object into a PatchTree object.
| j | The JSON object to deserialize. |
| p | The PatchTree object to deserialize into. |
Definition at line 370 of file PatchTree.cpp.
| void shamrock::scheduler::to_json | ( | nlohmann::json & | j, |
| const PatchTree & | p | ||
| ) |
Serializes a PatchTree object into a JSON object.
| j | The JSON object to serialize the PatchTree into. |
| p | The PatchTree object to serialize. |
Definition at line 362 of file PatchTree.cpp.