|
| | cs_lagr_particle_set_t () |
| | Default constructor. More...
|
| |
| | cs_lagr_particle_set_t (cs_lnum_t n_part_max, const cs_lagr_attribute_map_t *map) |
| | Constructor. More...
|
| |
| | cs_lagr_particle_set_t (const cs_lagr_particle_set_t &other) |
| | Copy constructor (shallow copy) More...
|
| |
| CS_F_HOST_DEVICE | cs_lagr_particle_set_t (cs_lagr_particle_set_t &&other) |
| | Move constructor. More...
|
| |
| | ~cs_lagr_particle_set_t () |
| | Default destructor. More...
|
| |
| CS_F_HOST_DEVICE cs_lagr_particle_set_t & | operator= (cs_lagr_particle_set_t other) |
| | Assignment operator. More...
|
| |
| CS_F_HOST int | resize (const cs_lnum_t n_particles_max_min) |
| | Resize particles set. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T & | attr (cs_lnum_t particle_id, cs_lagr_attribute_t attr) |
| | Access attribute based on particle id and a given type. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T & | attr (cs_lnum_t particle_id, cs_lagr_attribute_t attr) const |
| | Access attribute based on particle id and a given type from a const particle set. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T & | attr_n (cs_lnum_t particle_id, int time_id, cs_lagr_attribute_t attr) |
| | Access attribute based on particle id, time id and a given type. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T & | attr_n (cs_lnum_t p_id, int time_id, cs_lagr_attribute_t attr) const |
| | Access attribute based on particle id, time id and a given type for a const particle set. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T * | attr_get_ptr (cs_lnum_t p_id, cs_lagr_attribute_t attr) |
| | Get a pointer to attribute values. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE const T * | attr_get_const_ptr (cs_lnum_t p_id, cs_lagr_attribute_t attr) |
| | Get a const pointer to attribute values. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE T * | attr_n_get_ptr (cs_lnum_t p_id, int time_id, cs_lagr_attribute_t attr) |
| | Get a pointer to attribute values. More...
|
| |
| template<typename T > |
| CS_F_HOST_DEVICE const T * | attr_n_get_const_ptr (cs_lnum_t p_id, int time_id, cs_lagr_attribute_t attr) |
| | Get a const pointer to attribute values. More...
|
| |
| CS_F_HOST_DEVICE int | flag (cs_lnum_t p_id, int mask) |
| | Check if a flag is set for a given particle based on a mask. More...
|
| |
| CS_F_HOST_DEVICE void | set_flag (cs_lnum_t p_id, int mask) |
| | Set flag for a given particle. More...
|
| |
| CS_F_HOST_DEVICE void | unset_flag (cs_lnum_t p_id, int mask) |
| | Unset a flag for a given particle. More...
|
| |
| CS_F_HOST_DEVICE cs_real_t * | source_terms (cs_lnum_t p_id, cs_lagr_attribute_t attr) |
| | Get pointer to 2nd order scheme source terms for an attribute of a given particle in a set. More...
|
| |
| CS_F_HOST_DEVICE const cs_real_t * | source_terms_const (cs_lnum_t p_id, cs_lagr_attribute_t attr) |
| | Get pointer to 2nd order scheme source terms for an attribute of a given particle in a set. More...
|
| |
| template<typename... Args> |
| auto | attr_real (Args &&... args) -> decltype(attr< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_lnum (Args &&... args) -> decltype(attr< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_gnum (Args &&... args) -> decltype(attr< cs_gnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_real (Args &&... args) -> decltype(attr_n< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_lnum (Args &&... args) -> decltype(attr_n< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_gnum (Args &&... args) -> decltype(attr_n< cs_gnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_real_ptr (Args &&... args) -> decltype(attr_get_ptr< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_lnum_ptr (Args &&... args) -> decltype(attr_get_ptr< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_gnum_ptr (Args &&... args) -> decltype(attr_get_ptr< cs_gnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_real_const_ptr (Args &&... args) -> decltype(attr_get_const_ptr< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_lnum_const_ptr (Args &&... args) -> decltype(attr_get_const_ptr< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_gnum_const_ptr (Args &&... args) -> decltype(attr_get_const_ptr< cs_gnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_real_ptr (Args &&... args) -> decltype(attr_n_get_ptr< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_lnum_ptr (Args &&... args) -> decltype(attr_n_get_ptr< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_gnum_ptr (Args &&... args) -> decltype(attr_n_get_ptr< cs_gnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_real_const_ptr (Args &&... args) -> decltype(attr_n_get_const_ptr< cs_real_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_lnum_const_ptr (Args &&... args) -> decltype(attr_n_get_const_ptr< cs_lnum_t >(std::forward< Args >(args)...)) |
| |
| template<typename... Args> |
| auto | attr_n_gnum_const_ptr (Args &&... args) -> decltype(attr_n_get_const_ptr< cs_gnum_t >(std::forward< Args >(args)...)) |
| |