9.2
general documentation
cs_lagr_attribute_map_t Struct Reference

#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_toperator= (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
 

Detailed Description

Particle attribute structure mapping

Constructor & Destructor Documentation

◆ cs_lagr_attribute_map_t() [1/4]

Default constructor.

◆ cs_lagr_attribute_map_t() [2/4]

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.

Parameters
[in]attr_keyskeys to sort attributes

◆ cs_lagr_attribute_map_t() [3/4]

Copy constructor using a shallow copy (no allocation)

◆ cs_lagr_attribute_map_t() [4/4]

Move constructor.

Parameters
[in]otherOriginal reference to move

◆ ~cs_lagr_attribute_map_t()

Default destructor.

Member Function Documentation

◆ operator=()

Assignment operator.

Friends And Related Function Documentation

◆ cs_lagr_particle_set_t

friend struct cs_lagr_particle_set_t
friend

Member Data Documentation

◆ count

int(* count)[CS_LAGR_N_ATTRIBUTES]

◆ datatype

◆ displ

ptrdiff_t(* displ)[CS_LAGR_N_ATTRIBUTES]

◆ extents

size_t extents

◆ lb

size_t lb

◆ n_time_vals

int n_time_vals

◆ size

size_t size[CS_LAGR_N_ATTRIBUTES]

◆ source_term_displ

ptrdiff_t* source_term_displ

The documentation for this struct was generated from the following files: