Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
SchedulerPatchData.cpp File Reference

Implementation of PatchData handling related function. More...

#include "shambase/exception.hpp"
#include "shambase/narrowing.hpp"
#include "shambase/string.hpp"
#include "shambackends/comm/CommunicationBuffer.hpp"
#include "shamrock/patch/PatchDataField.hpp"
#include "shamrock/patch/PatchDataLayerLayout.hpp"
#include "shamrock/scheduler/HilbertLoadBalance.hpp"
#include "shamrock/scheduler/SchedulerPatchData.hpp"
#include "shamsys/legacy/log.hpp"
#include "shamtree/kernels/geometry_utils.hpp"
#include <stdexcept>
#include <vector>
+ Include dependency graph for SchedulerPatchData.cpp:

Go to the source code of this file.

Classes

struct  shamrock::scheduler::Message
 

Namespaces

namespace  shamrock
 namespace for the main framework
 

Functions

void shamrock::scheduler::send_messages (std::vector< Message > &msgs, std::vector< MPI_Request > &rqs)
 
void shamrock::scheduler::recv_probe_messages (std::vector< Message > &msgs, std::vector< MPI_Request > &rqs)
 
template<class Vectype >
void shamrock::scheduler::split_patchdata (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 
template void shamrock::scheduler::split_patchdata< f32_3 > (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 
template void shamrock::scheduler::split_patchdata< f64_3 > (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 
template void shamrock::scheduler::split_patchdata< u32_3 > (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 
template void shamrock::scheduler::split_patchdata< u64_3 > (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 
template void shamrock::scheduler::split_patchdata< i64_3 > (shamrock::patch::PatchDataLayer &original_pd, const shamrock::patch::SimulationBoxInfo &sim_box, const std::array< shamrock::patch::Patch, 8 > patches, std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 > pdats)
 

Detailed Description

Implementation of PatchData handling related function.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file SchedulerPatchData.cpp.

Macro Definition Documentation

◆ NEW_LB_APPLY_IMPL

#define NEW_LB_APPLY_IMPL

Definition at line 30 of file SchedulerPatchData.cpp.

Function Documentation

◆ recv_probe_messages()

void shamrock::scheduler::recv_probe_messages ( std::vector< Message > &  msgs,
std::vector< MPI_Request > &  rqs 
)

Definition at line 73 of file SchedulerPatchData.cpp.

◆ send_messages()

void shamrock::scheduler::send_messages ( std::vector< Message > &  msgs,
std::vector< MPI_Request > &  rqs 
)

Definition at line 45 of file SchedulerPatchData.cpp.

◆ split_patchdata()

template<class Vectype >
void shamrock::scheduler::split_patchdata ( shamrock::patch::PatchDataLayer original_pd,
const shamrock::patch::SimulationBoxInfo sim_box,
const std::array< shamrock::patch::Patch, 8 >  patches,
std::array< std::reference_wrapper< shamrock::patch::PatchDataLayer >, 8 >  pdats 
)

Definition at line 249 of file SchedulerPatchData.cpp.