Go to the source code of this file.
|
| template<class flt> |
| sycl::vec< flt, 3 > | generic::setup::generators::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 > > | generic::setup::generators::get_ideal_fcc_box (flt r_particle, std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > box) |
| template<class flt, class Tpred_select, class Tpred_pusher> |
| void | generic::setup::generators::add_particles_fcc (flt r_particle, std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > box, Tpred_select &&selector, Tpred_pusher &&part_pusher) |
| template<class flt> |
| void | generic::setup::generators::add_disc2 (u32 Npart, flt r_in, flt r_out, std::function< flt(flt)> sigma_profile, std::function< flt(flt)> cs_profile, std::function< flt(flt)> rot_profile, std::function< void(DiscOutput< flt >)> pusher) |
| template<class flt, class Tpred_pusher> |
| void | generic::setup::generators::add_disc (u32 Npart, flt p, flt rho_0, flt m, flt r_in, flt r_out, flt q, Tpred_pusher &&part_pusher) |
◆ add_disc()
template<class flt, class Tpred_pusher>
| void generic::setup::generators::add_disc |
( |
u32 | Npart, |
|
|
flt | p, |
|
|
flt | rho_0, |
|
|
flt | m, |
|
|
flt | r_in, |
|
|
flt | r_out, |
|
|
flt | q, |
|
|
Tpred_pusher && | part_pusher ) |
|
inline |
- Template Parameters
-
- Parameters
-
| Npart | number of particles |
| p | radial power law surface density (default = 1) sigma prop r^-p |
| rho_0 | rho_0 volumic density (at r = 1) |
| m | mass part |
| r_in | inner cuttof |
| r_out | outer cuttof |
| q | T prop r^-q |
Definition at line 228 of file generators.hpp.
◆ add_disc2()
template<class flt>
| void generic::setup::generators::add_disc2 |
( |
u32 | Npart, |
|
|
flt | r_in, |
|
|
flt | r_out, |
|
|
std::function< flt(flt)> | sigma_profile, |
|
|
std::function< flt(flt)> | cs_profile, |
|
|
std::function< flt(flt)> | rot_profile, |
|
|
std::function< void(DiscOutput< flt >)> | pusher ) |
|
inline |
- Template Parameters
-
- Parameters
-
| Npart | |
| r_in | |
| r_out | |
| sigma_profile | |
| cs_profile | |
| rot_profile | |
| pusher | |
Definition at line 152 of file generators.hpp.
◆ add_particles_fcc()
template<class flt, class Tpred_select, class Tpred_pusher>
| void generic::setup::generators::add_particles_fcc |
( |
flt | r_particle, |
|
|
std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > | box, |
|
|
Tpred_select && | selector, |
|
|
Tpred_pusher && | part_pusher ) |
|
inline |
◆ get_box_dim()
template<class flt>
| sycl::vec< flt, 3 > generic::setup::generators::get_box_dim |
( |
flt | r_particle, |
|
|
u32 | xcnt, |
|
|
u32 | ycnt, |
|
|
u32 | zcnt ) |
|
inline |
◆ get_ideal_fcc_box()
template<class flt>
| std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > generic::setup::generators::get_ideal_fcc_box |
( |
flt | r_particle, |
|
|
std::tuple< sycl::vec< flt, 3 >, sycl::vec< flt, 3 > > | box ) |
|
inline |