Skip to content

[Scheduler] introduce synchronized data directly in the scheduler#1704

Draft
tdavidcl wants to merge 7 commits intoShamrock-code:mainfrom
tdavidcl:patch-2026-03-08-14-07
Draft

[Scheduler] introduce synchronized data directly in the scheduler#1704
tdavidcl wants to merge 7 commits intoShamrock-code:mainfrom
tdavidcl:patch-2026-03-08-14-07

Conversation

@tdavidcl
Copy link
Member

@tdavidcl tdavidcl commented Mar 8, 2026

After a lot of trial and error this PR aims at providing some runtime edges directly in the scheduler that are persitent across restarts. This typically should serve to store runtime variables such as time, dt, dxfact (in ramses solver) and more.

Currently this is at the "it just works" state now i need to make it much cleaner.

The end goal is to finally have a immutable config that just describe the parameters and nothing else !!!

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

Thanks @tdavidcl for opening this PR!

You can do multiple things directly here:
1 - Comment pre-commit.ci run to run pre-commit checks.
2 - Comment pre-commit.ci autofix to apply fixes.
3 - Add label autofix.ci to fix authorship & pre-commit for every commit made.
4 - Add label light-ci to only trigger a reduced & faster version of the CI (need the full one before merge).
5 - Add label trigger-ci to create an empty commit to trigger the CI.

Once the workflow completes a message will appear displaying informations related to the run.

Also the PR gets automatically reviewed by gemini, you can:
1 - Comment /gemini review to trigger a review
2 - Comment /gemini summary for a summary
3 - Tag it using @gemini-code-assist either in the PR or in review comments on files

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request establishes a foundational system for managing and persisting runtime variables directly within the scheduler. By introducing synchronized, serializable data structures and integrating them with the existing dump/load functionality, it enables critical simulation parameters to be consistently maintained across distributed environments and simulation restarts. This is a significant step towards achieving an immutable configuration that solely defines simulation parameters.

Highlights

  • Introduction of Synchronized Data: A new SynchronizedData struct has been introduced within the PatchScheduler to manage data that needs to be consistent across all distributed ranks and persistent across restarts.
  • Serializable Edges in Solver Graph: The SolverGraph now supports serializable edges through a new JSonSerializable interface and a concrete ScalarEdgeSerializable class, allowing runtime variables like 'time' to be stored and loaded.
  • Enhanced Solver Graph with Constraints: The SolverGraph has been extended with a SolverGraphContraint mechanism, enabling validation rules for nodes and edges upon registration, ensuring data integrity.
  • Serialization and Deserialization Integration: The SynchronizedData is now integrated into the ShamrockDump mechanism, allowing it to be serialized to and deserialized from JSON, ensuring persistence of runtime variables.
Changelog
  • examples/sph/run_sph_rendering.py
    • Added temporary code for dumping and loading simulation state to test the new serialization features.
  • src/shammodels/sph/src/Model.cpp
    • Included the new ScalarEdgeSerializable.hpp header.
    • Registered a 'time' edge as a ScalarEdgeSerializable within the scheduler's synchronized data, initializing its value to 0.
  • src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp
    • Added necessary includes for JSON and SolverGraph.
    • Defined JSonSerializable interface for objects that can be serialized to/from JSON.
    • Introduced SynchronizedData struct, which contains a constrained SolverGraph for serializable edges.
    • Added a SynchronizedData member to the PatchScheduler class to hold synchronized runtime data.
  • src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp
    • Added a new virtual method get_raw_tex_symbol() to the IEdgeNamed interface.
  • src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp
    • Created a new file defining ScalarEdgeSerializable, a template class extending ScalarEdge and JSonSerializable for scalar values.
    • Implemented to_json and from_json methods for serialization/deserialization of scalar edges.
    • Included a PRE_MAIN_FUNCTION_CALL to register the deserialization constructor for f64 type.
  • src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp
    • Added SolverGraphContraint struct to define validation rules for nodes and edges.
    • Modified SolverGraph constructors to accept and apply these constraints during node and edge registration.
    • Implemented validation checks in register_node_ptr_base and register_edge_ptr_base.
    • Added get_edge_names() and get_node_names() methods to retrieve names of registered elements.
  • src/shamrock/src/io/ShamrockDump.cpp
    • Updated the load_from_dump function to deserialize the synchronized_data from the JSON dump if it exists.
  • src/shamrock/src/scheduler/PatchScheduler.cpp
    • Included nlohmann/json_fwd.hpp.
    • Initialized the synchronized_data member in the PatchScheduler constructor.
    • Modified serialize_patch_metadata to include the serialized synchronized_data.
    • Implemented SynchronizedData::to_json and SynchronizedData::from_json methods for serializing and deserializing the contained SolverGraph edges.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a valuable feature for managing synchronized, persistent data within the scheduler using a SolverGraph with serializable edges, moving towards an immutable configuration. However, the deserialization logic in SynchronizedData::from_json lacks proper input validation and error handling, making the application susceptible to Denial of Service (DoS) attacks where a malformed dump file can cause the simulation to crash due to unhandled exceptions. It is recommended to use safer access methods (like find() or contains()) and wrap the deserialization process in a try-catch block to ensure graceful failure when encountering invalid data, aligning with the principle of robust error handling emphasized in this repository. Additionally, the review identifies general issues such as temporary test code, typos, minor performance optimizations, and debugging output that need to be addressed for a cleaner implementation.

@github-actions
Copy link
Contributor

Workflow report

workflow report corresponding to commit 9bc88dd
Commiter email is timothee.davidcleris@proton.me

Light CI is enabled. This will only run the basic tests and not the full tests.
Merging a PR require the job "on PR / all" to pass which is disabled in this case.

Pre-commit check report

Pre-commit check: ✅

trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check for merge conflicts................................................Passed
check that executables have shebangs.....................................Passed
check that scripts with shebangs are executable..........................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check for broken symlinks................................................Passed
check yaml...............................................................Passed
detect private key.......................................................Passed
No-tabs checker..........................................................Passed
Tabs remover.............................................................Passed
Validate GitHub Workflows................................................Passed
clang-format.............................................................Passed
ruff check...............................................................Passed
ruff format..............................................................Passed
Check doxygen headers....................................................Passed
Check license headers....................................................Passed
Check #pragma once.......................................................Passed
Check SYCL #include......................................................Passed
No ssh in git submodules remote..........................................Passed
No UTF-8 in files (except for authors)...................................Passed

Test pipeline can run.

Doxygen diff with main

Removed warnings : 69
New warnings : 126
Warnings count : 8206 → 8263 (0.7%)

Detailed changes :
- src/shammodels/sph/src/Model.cpp:204: warning: Member post_insert_data(PatchScheduler &sched) (function) of file Model.cpp is not documented.
+ src/shammodels/sph/src/Model.cpp:209: warning: Member post_insert_data(PatchScheduler &sched) (function) of file Model.cpp is not documented.
- src/shammodels/sph/src/Model.cpp:722: warning: Compound BigDiscUtils is not documented.
- src/shammodels/sph/src/Model.cpp:724: warning: Member Tscal (typedef) of class BigDiscUtils is not documented.
- src/shammodels/sph/src/Model.cpp:725: warning: Member Out (typedef) of class BigDiscUtils is not documented.
+ src/shammodels/sph/src/Model.cpp:727: warning: Compound BigDiscUtils is not documented.
- src/shammodels/sph/src/Model.cpp:727: warning: Compound BigDiscUtils::DiscIterator is not documented.
+ src/shammodels/sph/src/Model.cpp:729: warning: Member Tscal (typedef) of class BigDiscUtils is not documented.
+ src/shammodels/sph/src/Model.cpp:730: warning: Member Out (typedef) of class BigDiscUtils is not documented.
+ src/shammodels/sph/src/Model.cpp:732: warning: Compound BigDiscUtils::DiscIterator is not documented.
- src/shammodels/sph/src/Model.cpp:750: warning: Member DiscIterator(Tvec center, Tscal central_mass, u64 Npart, Tscal r_in, Tscal r_out, Tscal disc_mass, Tscal p, Tscal H_r_in, Tscal q, Tscal G, std::mt19937 eng, std::function< Tscal(Tscal)> sigma_profile, std::function< Tscal(Tscal)> cs_profile, std::function< Tscal(Tscal)> rot_profile) (function) of class BigDiscUtils::DiscIterator is not documented.
+ src/shammodels/sph/src/Model.cpp:755: warning: Member DiscIterator(Tvec center, Tscal central_mass, u64 Npart, Tscal r_in, Tscal r_out, Tscal disc_mass, Tscal p, Tscal H_r_in, Tscal q, Tscal G, std::mt19937 eng, std::function< Tscal(Tscal)> sigma_profile, std::function< Tscal(Tscal)> cs_profile, std::function< Tscal(Tscal)> rot_profile) (function) of class BigDiscUtils::DiscIterator is not documented.
- src/shammodels/sph/src/Model.cpp:775: warning: Member is_done() (function) of class BigDiscUtils::DiscIterator is not documented.
- src/shammodels/sph/src/Model.cpp:777: warning: Member next() (function) of class BigDiscUtils::DiscIterator is not documented.
+ src/shammodels/sph/src/Model.cpp:780: warning: Member is_done() (function) of class BigDiscUtils::DiscIterator is not documented.
+ src/shammodels/sph/src/Model.cpp:782: warning: Member next() (function) of class BigDiscUtils::DiscIterator is not documented.
- src/shammodels/sph/src/Model.cpp:840: warning: Member next_n(u32 nmax) (function) of class BigDiscUtils::DiscIterator is not documented.
+ src/shammodels/sph/src/Model.cpp:845: warning: Member next_n(u32 nmax) (function) of class BigDiscUtils::DiscIterator is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:109: warning: Member pdl_old() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:111: warning: Member max_axis_patch_coord (variable) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:112: warning: Member max_axis_patch_coord_length (variable) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:113: warning: Member get_layout_ptr_old() const (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:114: warning: Member PatchTree (typedef) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:115: warning: Member SchedulerPatchData (typedef) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:117: warning: Member pdl_ptr (variable) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:125: warning: Member init_mpi_required_types() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:127: warning: Member free_mpi_required_types() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:129: warning: Member PatchScheduler(const std::shared_ptr< shamrock::patch::PatchDataLayerLayout > &pdl_ptr, u64 crit_split, u64 crit_merge) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:131: warning: Member pdl_old() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:135: warning: Member get_layout_ptr_old() const (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:136: warning: Member dump_status() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:138: warning: Member update_local_load_value(std::function< u64(shamrock::patch::Patch)> load_function) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:147: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:147: warning: Member init_mpi_required_types() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:149: warning: Member free_mpi_required_types() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:150: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:151: warning: Member PatchScheduler(const std::shared_ptr< shamrock::patch::PatchDataLayerLayout > &pdl_ptr, u64 crit_split, u64 crit_merge) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:152: warning: Member should_resize_box(bool node_in) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:158: warning: Member dump_status() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:160: warning: Member update_local_load_value(std::function< u64(shamrock::patch::Patch)> load_function) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:169: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:172: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:174: warning: Member should_resize_box(bool node_in) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:185: warning: Member make_patch_base_grid(std::array< u32, dim > patch_count) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:199: warning: Member format_patch_coord(shamrock::patch::Patch p) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:201: warning: Member check_patchdata_locality_corectness() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:204: warning: Member dump_local_patches(std::string filename) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:206: warning: Member gather_data(u32 rank) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:207: warning: Member make_patch_base_grid(std::array< u32, dim > patch_count) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:211: warning: PatchScheduler::add_root_patch has @param documentation sections but no arguments
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:221: warning: Member format_patch_coord(shamrock::patch::Patch p) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:223: warning: Member check_patchdata_locality_corectness() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:226: warning: Member dump_local_patches(std::string filename) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:228: warning: Member gather_data(u32 rank) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:231: warning: Member sync_build_LB(bool global_patch_sync, bool balance_load) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:233: warning: PatchScheduler::add_root_patch has @param documentation sections but no arguments
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:234: warning: Member get_patch_transform() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:253: warning: Member sync_build_LB(bool global_patch_sync, bool balance_load) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:256: warning: Member get_patch_transform() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:271: warning: Member for_each_patch(Function &&fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:284: warning: Member for_each_global_patch(std::function< void(const shamrock::patch::Patch)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:292: warning: Member for_each_local_patch(std::function< void(const shamrock::patch::Patch)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:293: warning: Member for_each_patch(Function &&fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:300: warning: Member for_each_local_patchdata(std::function< void(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:306: warning: Member for_each_global_patch(std::function< void(const shamrock::patch::Patch)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:309: warning: Member for_each_local_patch_nonempty(std::function< void(const shamrock::patch::Patch &)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:314: warning: Member for_each_local_patch(std::function< void(const shamrock::patch::Patch)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:321: warning: Member get_patch_rank_owner(u64 patch_id) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:322: warning: Member for_each_local_patchdata(std::function< void(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:327: warning: Member for_each_patchdata_nonempty(std::function< void(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:331: warning: Member for_each_local_patch_nonempty(std::function< void(const shamrock::patch::Patch &)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:340: warning: Member map_owned_patchdata(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:343: warning: Member get_patch_rank_owner(u64 patch_id) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:349: warning: Member for_each_patchdata_nonempty(std::function< void(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:353: warning: Member distrib_data_local_to_all_simple(shambase::DistributedData< T > &src) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:362: warning: Member map_owned_patchdata(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:366: warning: Member distrib_data_local_to_all_load_store(shambase::DistributedData< T > &src) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:375: warning: Member distrib_data_local_to_all_simple(shambase::DistributedData< T > &src) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:377: warning: Member map_owned_patchdata_fetch_simple(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:388: warning: Member distrib_data_local_to_all_load_store(shambase::DistributedData< T > &src) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:390: warning: Member map_owned_patchdata_fetch_load_store(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:399: warning: Member map_owned_patchdata_fetch_simple(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:403: warning: Member map_owned_to_patch_field_simple(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:409: warning: Member map_owned_to_patch_field_load_store(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:412: warning: Member map_owned_patchdata_fetch_load_store(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:414: warning: Member get_rank_count() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:425: warning: Member get_total_obj_count() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:425: warning: Member map_owned_to_patch_field_simple(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:431: warning: Member map_owned_to_patch_field_load_store(std::function< T(const shamrock::patch::Patch, shamrock::patch::PatchDataLayer &pdat)> fct) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:432: warning: Member rankgather_field(u32 field_idx) (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:436: warning: Member get_rank_count() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:447: warning: Member get_total_obj_count() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:454: warning: Member rankgather_field(u32 field_idx) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:490: warning: Member compute_patch_field(Pfield &field, MPI_Datatype &dtype, Function &&lambda) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:508: warning: Member get_node_set_edge_patchdata_layer_refs() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:512: warning: Member compute_patch_field(Pfield &field, MPI_Datatype &dtype, Function &&lambda) (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:529: warning: Member get_sim_box() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:52: warning: Compound PatchSchedulerConfig is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:530: warning: Member get_node_set_edge_patchdata_layer_refs() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:531: warning: Member serialize_patch_metadata() (function) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:53: warning: Member split_load_value (variable) of struct PatchSchedulerConfig is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:54: warning: Member merge_load_value (variable) of struct PatchSchedulerConfig is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:551: warning: Member get_sim_box() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:553: warning: Member serialize_patch_metadata() (function) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:61: warning: Member deser_map (variable) of file PatchScheduler.hpp is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:65: warning: Member container (variable) of struct SynchronizedData is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:69: warning: Member to_json() (function) of struct SynchronizedData is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:71: warning: Member from_json(const nlohmann::json &j) (function) of struct SynchronizedData is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:73: warning: Compound PatchSchedulerConfig is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:74: warning: Member split_load_value (variable) of struct PatchSchedulerConfig is not documented.
+ src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:75: warning: Member merge_load_value (variable) of struct PatchSchedulerConfig is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:90: warning: Member max_axis_patch_coord (variable) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:91: warning: Member max_axis_patch_coord_length (variable) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:93: warning: Member PatchTree (typedef) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:94: warning: Member SchedulerPatchData (typedef) of class PatchScheduler is not documented.
- src/shamrock/include/shamrock/scheduler/PatchScheduler.hpp:96: warning: Member pdl_ptr (variable) of class PatchScheduler is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdge.hpp:30: warning: Member get_label() const (function) of class shamrock::solvergraph::IEdge is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdge.hpp:31: warning: Member get_tex_symbol() const (function) of class shamrock::solvergraph::IEdge is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:28: warning: Member IEdgeNamed(std::string name, std::string texsymbol) (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:30: warning: Member _impl_get_dot_label() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:31: warning: Member _impl_get_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/IEdgeNamed.hpp:32: warning: Member get_raw_tex_symbol() const (function) of class shamrock::solvergraph::IEdgeNamed is not documented.
+ src/shamrock/include/shamrock/solvergraph/JsonSerializable.hpp:24: warning: Compound shamrock::solvergraph::JsonSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/JsonSerializable.hpp:27: warning: Member to_json(nlohmann::json &j)=0 (function) of struct shamrock::solvergraph::JsonSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/JsonSerializable.hpp:28: warning: Member from_json(const nlohmann::json &j)=0 (function) of struct shamrock::solvergraph::JsonSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/JsonSerializable.hpp:30: warning: Member type_name()=0 (function) of struct shamrock::solvergraph::JsonSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/JsonSerializable.hpp:33: warning: Member json_serializable_edge_constraint(const std::shared_ptr< shamrock::solvergraph::IEdge > &edge) (function) of namespace shamrock::solvergraph is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdge.hpp:26: warning: Member IEdgeNamed(std::string name, std::string texsymbol) (function) of class shamrock::solvergraph::ScalarEdge is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdge.hpp:28: warning: Member value (variable) of class shamrock::solvergraph::ScalarEdge is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:33: warning: Compound shamrock::solvergraph::ScalarEdgeSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:38: warning: Member to_json(nlohmann::json &j) (function) of class shamrock::solvergraph::ScalarEdgeSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:46: warning: Member from_json(const nlohmann::json &j) (function) of class shamrock::solvergraph::ScalarEdgeSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:60: warning: Member type_name_static() (function) of class shamrock::solvergraph::ScalarEdgeSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:64: warning: Member type_name() (function) of class shamrock::solvergraph::ScalarEdgeSerializable is not documented.
+ src/shamrock/include/shamrock/solvergraph/ScalarEdgeSerializable.hpp:70: warning: Member register_ctor_deser() (function) of file ScalarEdgeSerializable.hpp is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:103: warning: Member with_constraint(std::optional< std::function< bool(const std::shared_ptr< INode > &)> > _validate_node, std::optional< std::function< bool(const std::shared_ptr< IEdge > &)> > _validate_edge) (function) of class shamrock::solvergraph::SolverGraph is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:32: warning: Compound shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:33: warning: Member _validate_node (variable) of struct shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:34: warning: Member _validate_edge (variable) of struct shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:36: warning: Member no_constraint() (function) of struct shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:38: warning: Member validate_node(const std::shared_ptr< INode > &node) (function) of struct shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:393: warning: Member get_edge_names() (function) of class shamrock::solvergraph::SolverGraph is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:402: warning: Member get_node_names() (function) of class shamrock::solvergraph::SolverGraph is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:45: warning: Member validate_edge(const std::shared_ptr< IEdge > &edge) (function) of struct shamrock::solvergraph::SolverGraphContraint is not documented.
+ src/shamrock/include/shamrock/solvergraph/SolverGraph.hpp:98: warning: Member SolverGraph(std::optional< std::function< bool(const std::shared_ptr< INode > &)> > _validate_node, std::optional< std::function< bool(const std::shared_ptr< IEdge > &)> > _validate_edge) (function) of class shamrock::solvergraph::SolverGraph is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:253: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:254: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:267: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:268: warning: Member get_box_tranform() (function) of class PatchScheduler is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:281: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:282: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:290: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:291: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:299: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:300: warning: Member get_box_volume() (function) of class PatchScheduler is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:663: warning: Member check_locality_t(PatchScheduler &sched) (function) of file PatchScheduler.cpp is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:664: warning: Member check_locality_t(PatchScheduler &sched) (function) of file PatchScheduler.cpp is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:891: warning: Compound Message is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:892: warning: Compound Message is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:892: warning: Member buf (variable) of struct Message is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:893: warning: Member buf (variable) of struct Message is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:893: warning: Member rank (variable) of struct Message is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:894: warning: Member rank (variable) of struct Message is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:894: warning: Member tag (variable) of struct Message is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:895: warning: Member tag (variable) of struct Message is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:897: warning: Member send_messages(std::vector< Message > &msgs, std::vector< MPI_Request > &rqs) (function) of file PatchScheduler.cpp is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:898: warning: Member send_messages(std::vector< Message > &msgs, std::vector< MPI_Request > &rqs) (function) of file PatchScheduler.cpp is not documented.
- src/shamrock/src/scheduler/PatchScheduler.cpp:924: warning: Member recv_probe_messages(std::vector< Message > &msgs, std::vector< MPI_Request > &rqs) (function) of file PatchScheduler.cpp is not documented.
+ src/shamrock/src/scheduler/PatchScheduler.cpp:925: warning: Member recv_probe_messages(std::vector< Message > &msgs, std::vector< MPI_Request > &rqs) (function) of file PatchScheduler.cpp is not documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant