Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
particleGen.hpp File Reference
#include "shambackends/sycl_utils.hpp"
#include "shambackends/vec.hpp"
#include <functional>
#include <vector>
Include dependency graph for particleGen.hpp:

Go to the source code of this file.

Namespaces

namespace  shamrock
 namespace for the main framework

Functions

template<class flt>
sycl::vec< flt, 3 > shamrock::sph::get_box_dim (flt r_particle, u32 xcnt, u32 ycnt, u32 zcnt)
template<class flt>
std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > shamrock::sph::get_ideal_fcc_box (flt r_particle, std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > box)
template<class Tscal>
sycl::vec< Tscal, 3 > shamrock::sph::get_fcc_pos (u32 i, u32 j, u32 k)

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 particleGen.hpp.

Function Documentation

◆ get_box_dim()

template<class flt>
sycl::vec< flt, 3 > shamrock::sph::get_box_dim ( flt r_particle,
u32 xcnt,
u32 ycnt,
u32 zcnt )
inline

Definition at line 27 of file particleGen.hpp.

◆ get_fcc_pos()

template<class Tscal>
sycl::vec< Tscal, 3 > shamrock::sph::get_fcc_pos ( u32 i,
u32 j,
u32 k )
inline

Definition at line 78 of file particleGen.hpp.

◆ get_ideal_fcc_box()

template<class flt>
std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > shamrock::sph::get_ideal_fcc_box ( flt r_particle,
std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > box )
inline

Definition at line 50 of file particleGen.hpp.