Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
GSPHGhostHandler.cpp File Reference

GSPH-specific ghost handler implementation. More...

#include "shambase/exception.hpp"
#include "shamalgs/collective/gather_str.hpp"
#include "shammodels/gsph/modules/GSPHGhostHandler.hpp"
#include <functional>
#include <vector>
+ Include dependency graph for GSPHGhostHandler.cpp:

Go to the source code of this file.

Classes

struct  ShiftInfo< T >
 

Typedefs

template<class T >
using ShearPeriodicInfo = typename shammodels::gsph::GSPHGhostHandlerConfig< sycl::vec< T, 3 > >::ShearingPeriodic
 

Functions

template<class T >
ShiftInfo< T > compute_shift_infos (i32_3 ioff, ShearPeriodicInfo< T > shear, sycl::vec< T, 3 > bsize)
 
template<class T >
void for_each_patch_shift (ShearPeriodicInfo< T > shearinfo, sycl::vec< T, 3 > bsize, std::function< void(i32_3, ShiftInfo< T >)> funct)
 

Detailed Description

GSPH-specific ghost handler implementation.

Author
Guo Yansong (guo.y.nosp@m.anso.nosp@m.ng.ng.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file GSPHGhostHandler.cpp.

Typedef Documentation

◆ ShearPeriodicInfo

template<class T >
using ShearPeriodicInfo = typename shammodels::gsph::GSPHGhostHandlerConfig<sycl::vec<T, 3> >::ShearingPeriodic

Definition at line 30 of file GSPHGhostHandler.cpp.

Function Documentation

◆ compute_shift_infos()

template<class T >
ShiftInfo< T > compute_shift_infos ( i32_3  ioff,
ShearPeriodicInfo< T >  shear,
sycl::vec< T, 3 >  bsize 
)
inline

Definition at line 34 of file GSPHGhostHandler.cpp.

◆ for_each_patch_shift()

template<class T >
void for_each_patch_shift ( ShearPeriodicInfo< T >  shearinfo,
sycl::vec< T, 3 >  bsize,
std::function< void(i32_3, ShiftInfo< T >)>  funct 
)
inline

Definition at line 56 of file GSPHGhostHandler.cpp.