Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
BasicSPHGhosts.cpp File Reference
#include "shambase/exception.hpp"
#include "shambase/time.hpp"
#include "shamalgs/collective/gather_str.hpp"
#include "shamalgs/collective/reduction.hpp"
#include "shamcomm/worldInfo.hpp"
#include "shammodels/sph/BasicSPHGhosts.hpp"
#include <functional>
#include <vector>
Include dependency graph for BasicSPHGhosts.cpp:

Go to the source code of this file.

Classes

struct  ShiftInfo< T >

Typedefs

template<class T>
using ShearPeriodicInfo

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

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 BasicSPHGhosts.cpp.

Typedef Documentation

◆ ShearPeriodicInfo

template<class T>
using ShearPeriodicInfo

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 174 of file BasicSPHGhosts.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 196 of file BasicSPHGhosts.cpp.