Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Functions
PatchScheduler.hpp File Reference

MPI scheduler. More...

#include "shambase/DistributedData.hpp"
#include "shambase/stacktrace.hpp"
#include "shambase/time.hpp"
#include "shamalgs/collective/distributedDataComm.hpp"
#include "shamrock/legacy/patch/utility/patch_field.hpp"
#include "shamrock/solvergraph/NodeSetEdge.hpp"
#include "shamrock/solvergraph/PatchDataLayerRefs.hpp"
#include <nlohmann/json.hpp>
#include <unordered_set>
#include <fstream>
#include <functional>
#include <memory>
#include <stdexcept>
#include <tuple>
#include <vector>
#include "shamrock/legacy/patch/base/patchdata.hpp"
#include "shamrock/patch/Patch.hpp"
#include "scheduler_patch_list.hpp"
#include "shambackends/math.hpp"
#include "shamrock/patch/PatchDataLayer.hpp"
#include "shamrock/patch/PatchDataLayerLayout.hpp"
#include "shamrock/patch/PatchField.hpp"
#include "shamrock/scheduler/HilbertLoadBalance.hpp"
#include "shamrock/scheduler/PatchTree.hpp"
#include "shamrock/scheduler/SchedulerPatchData.hpp"
#include "shamsys/legacy/sycl_handler.hpp"
+ Include dependency graph for PatchScheduler.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PatchSchedulerConfig
 
class  PatchScheduler
 The MPI scheduler. More...
 

Functions

void to_json (nlohmann::json &j, const PatchSchedulerConfig &p)
 Converts a PatchSchedulerConfig object to a JSON object.
 
void from_json (const nlohmann::json &j, PatchSchedulerConfig &p)
 Deserializes a PatchSchedulerConfig object from a JSON object.
 

Detailed Description

MPI scheduler.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Version
0.1
Date
2022-03-01

Definition in file PatchScheduler.hpp.

Function Documentation

◆ from_json()

void from_json ( const nlohmann::json &  j,
PatchSchedulerConfig p 
)
inline

Deserializes a PatchSchedulerConfig object from a JSON object.

Parameters
jThe JSON object to deserialize from.
pThe PatchSchedulerConfig object to populate.

Definition at line 76 of file PatchScheduler.hpp.

◆ to_json()

void to_json ( nlohmann::json &  j,
const PatchSchedulerConfig p 
)
inline

Converts a PatchSchedulerConfig object to a JSON object.

Parameters
jThe JSON object to be populated.
pThe PatchSchedulerConfig object to be converted.

Definition at line 63 of file PatchScheduler.hpp.