Skip to content

Conversation

@tdavidcl
Copy link
Member

No description provided.

@tdavidcl tdavidcl added the draft label Sep 29, 2025
@github-actions
Copy link

Workflow report

workflow report corresponding to commit 864586d
Commiter email is timothee.davidcleris@proton.me

Pre-commit check report

Some failures were detected in base source checks checks.
Check the On PR / Linting / Base source checks (pull_request) job in the tests for more detailled output

❌ trailing-whitespace

Fixing src/shammodels/sph/src/BasicSPHGhosts.cpp

Suggested changes

Detailed changes :
diff --git a/src/shammodels/sph/include/shammodels/sph/BasicSPHGhosts.hpp b/src/shammodels/sph/include/shammodels/sph/BasicSPHGhosts.hpp
index 735c9116..36d7329e 100644
--- a/src/shammodels/sph/include/shammodels/sph/BasicSPHGhosts.hpp
+++ b/src/shammodels/sph/include/shammodels/sph/BasicSPHGhosts.hpp
@@ -237,7 +237,6 @@ namespace shammodels::sph {
                 vecarg.push_back({sender, receiver, build_infos, ids_interf_buf});
             }
 
-
             u32 i = 0;
             mod.for_each([&](u64 sender, u64 receiver, T &ref) {
                 InterfaceIdTable &build_table = vecarg[i].build_table;
diff --git a/src/shammodels/sph/include/shammodels/sph/SPHUtilities.hpp b/src/shammodels/sph/include/shammodels/sph/SPHUtilities.hpp
index 961a1bba..499a55cc 100644
--- a/src/shammodels/sph/include/shammodels/sph/SPHUtilities.hpp
+++ b/src/shammodels/sph/include/shammodels/sph/SPHUtilities.hpp
@@ -68,7 +68,7 @@ namespace shammodels::sph {
 
         static constexpr flt Rkern = SPHKernel::Rkern;
 
-        using GhostHndl = BasicSPHGhostHandler<vec>;
+        using GhostHndl        = BasicSPHGhostHandler<vec>;
         using InterfBuildCache = typename GhostHndl::CacheMap;
 
         PatchScheduler &sched;
diff --git a/src/shammodels/sph/src/BasicSPHGhosts.cpp b/src/shammodels/sph/src/BasicSPHGhosts.cpp
index 98a2868e..063bf8b0 100644
--- a/src/shammodels/sph/src/BasicSPHGhosts.cpp
+++ b/src/shammodels/sph/src/BasicSPHGhosts.cpp
@@ -457,7 +457,7 @@ auto BasicSPHGhostHandler<vec>::gen_id_table_interfaces(GeneratorMap &gen)
     StackEntry stack_loc{};
     using namespace shamrock::patch;
 
-    shamrock::solvergraph::DDSharedBuffers<u32> res ("","");
+    shamrock::solvergraph::DDSharedBuffers<u32> res("", "");
 
     std::map<u64, f64> send_count_stats;
 
@@ -491,7 +491,7 @@ auto BasicSPHGhostHandler<vec>::gen_id_table_interfaces(GeneratorMap &gen)
             build.volume_ratio,
             "part_ratio:",
             ratio);
-        
+
         res.buffers.add_obj(sender, receiver, std::move(idxs_res));
 
         send_count_stats[sender] += ratio;

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant