#include <cs_lagr_particle.h>
Collaboration diagram for cs_lagr_attribute_map_t:Public Member Functions | |
| CS_F_HOST_DEVICE | cs_lagr_attribute_map_t () |
| Default constructor. More... | |
| CS_F_HOST | cs_lagr_attribute_map_t (cs_lnum_t attr_keys[CS_LAGR_N_ATTRIBUTES][3]) |
| Constructor based on a list of attribute keys. More... | |
| CS_F_HOST_DEVICE | cs_lagr_attribute_map_t (const cs_lagr_attribute_map_t &other) |
| Copy constructor using a shallow copy (no allocation) More... | |
| CS_F_HOST_DEVICE | cs_lagr_attribute_map_t (cs_lagr_attribute_map_t &&other) |
| Move constructor. More... | |
| CS_F_HOST_DEVICE | ~cs_lagr_attribute_map_t () |
| Default destructor. More... | |
| CS_F_HOST_DEVICE cs_lagr_attribute_map_t & | operator= (cs_lagr_attribute_map_t other) |
| Assignment operator. More... | |
Public Attributes | |
| size_t | extents |
| size_t | lb |
| int | n_time_vals |
| size_t | size [CS_LAGR_N_ATTRIBUTES] |
| cs_datatype_t | datatype [CS_LAGR_N_ATTRIBUTES] |
| int(* | count )[CS_LAGR_N_ATTRIBUTES] |
| ptrdiff_t(* | displ )[CS_LAGR_N_ATTRIBUTES] |
| ptrdiff_t * | source_term_displ |
Friends | |
| struct | cs_lagr_particle_set_t |
Particle attribute structure mapping
Default constructor.
| CS_F_HOST cs_lagr_attribute_map_t | ( | cs_lnum_t | attr_keys[CS_LAGR_N_ATTRIBUTES][3] | ) |
Constructor based on a list of attribute keys.
| [in] | attr_keys | keys to sort attributes |
| CS_F_HOST_DEVICE cs_lagr_attribute_map_t | ( | const cs_lagr_attribute_map_t & | other | ) |
Copy constructor using a shallow copy (no allocation)
Move constructor.
| [in] | other | Original reference to move |
Default destructor.
| CS_F_HOST_DEVICE cs_lagr_attribute_map_t & operator= | ( | cs_lagr_attribute_map_t | other | ) |
Assignment operator.
|
friend |
| int(* count)[CS_LAGR_N_ATTRIBUTES] |
| cs_datatype_t datatype[CS_LAGR_N_ATTRIBUTES] |
| ptrdiff_t(* displ)[CS_LAGR_N_ATTRIBUTES] |
| size_t extents |
| size_t lb |
| int n_time_vals |
| size_t size[CS_LAGR_N_ATTRIBUTES] |
| ptrdiff_t* source_term_displ |