Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
shamrock::scheduler::HilbertLoadBalance< hilbert_num > Class Template Reference

hilbert load balancing More...

#include <shamrock/include/shamrock/scheduler/HilbertLoadBalance.hpp>

Static Public Member Functions

static LoadBalancingChangeList make_change_list (std::vector< shamrock::patch::Patch > &global_patch_list)
 generate the change list from the list of patch to run the load balancing
 

Static Public Attributes

static constexpr u64 max_box_sz = shamrock::sfc::HilbertCurve<hilbert_num, 3>::max_val
 maximal value along an axis for the patch coordinate
 

Detailed Description

template<class hilbert_num>
class shamrock::scheduler::HilbertLoadBalance< hilbert_num >

hilbert load balancing

Definition at line 43 of file HilbertLoadBalance.hpp.

Member Function Documentation

◆ make_change_list()

template<class hilbert_num >
LoadBalancingChangeList shamrock::scheduler::HilbertLoadBalance< hilbert_num >::make_change_list ( std::vector< shamrock::patch::Patch > &  global_patch_list)
static

generate the change list from the list of patch to run the load balancing

Parameters
global_patch_listthe global patch list
Returns
LoadBalancingChangeList list of changes to apply format = (index of the patch in global list,old owner rank,new owner rank,mpi communication tag)

Definition at line 50 of file HilbertLoadBalance.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ max_box_sz

template<class hilbert_num >
constexpr u64 shamrock::scheduler::HilbertLoadBalance< hilbert_num >::max_box_sz = shamrock::sfc::HilbertCurve<hilbert_num, 3>::max_val
staticconstexpr

maximal value along an axis for the patch coordinate

Definition at line 52 of file HilbertLoadBalance.hpp.


The documentation for this class was generated from the following files: