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

MPI scheduler. More...

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.