19 #ifndef GEOSX_COMMON_DATALAYOUTS_HPP_ 20 #define GEOSX_COMMON_DATALAYOUTS_HPP_ 22 #include "RAJA/RAJA.hpp" 31 #if defined( GEOSX_USE_CUDA ) 34 using REFERENCE_POSITION_PERM = RAJA::PERM_JI;
37 using TOTAL_DISPLACEMENT_PERM = RAJA::PERM_JI;
40 using INCR_DISPLACEMENT_PERM = RAJA::PERM_JI;
43 using VELOCITY_PERM = RAJA::PERM_JI;
46 using ACCELERATION_PERM = RAJA::PERM_JI;
87 #if defined( GEOSX_USE_CUDA ) 90 using NODE_MAP_PERMUTATION = RAJA::PERM_JI;
95 using NODE_MAP_PERMUTATION = RAJA::PERM_IJ;
107 #if defined( GEOSX_USE_CUDA ) 110 using STRESS_PERMUTATION = RAJA::PERM_KJI;
113 using STIFFNESS_PERMUTATION = RAJA::PERM_KJI;
118 using STRESS_PERMUTATION = RAJA::PERM_IJK;
135 #endif // GEOSX_COMMON_DATALAYOUTS_HPP_ RAJA::PERM_IJ TOTAL_DISPLACEMENT_PERM
Node total displacement permutation when not using cuda.
static constexpr int INCR_DISPLACEMENT_USD
Node incremental displacement unit stride dimension.
RAJA::PERM_IJK STIFFNESS_PERMUTATION
Constitutive model stiffness permutation when not using cuda.
RAJA::PERM_IJ INCR_DISPLACEMENT_PERM
Node incremental displacement permutation when not using cuda.
Contains the implementation of LvArray::Array.
static constexpr int VELOCITY_USD
Node velocity unit stride dimension.
RAJA::PERM_IJ ACCELERATION_PERM
Node acceleration permutation when not using cuda.
static constexpr int STRESS_USD
Constitutive model stress unit stride dimension.
constexpr camp::idx_t getStrideOneDimension(camp::idx_seq< INDICES... >)
static constexpr int ACCELERATION_USD
Node acceleration unit stride dimension.
static constexpr int TOTAL_DISPLACEMENT_USD
Node total displacement unit stride dimension.
static constexpr int STIFFNESS_USD
Constitutive model stiffness unit stride dimension.
static constexpr int NODE_MAP_USD
Cell node map unit stride dimension.
RAJA::PERM_IJ REFERENCE_POSITION_PERM
Node reference position permutation when not using cuda.
RAJA::PERM_IJ VELOCITY_PERM
Node velocity permutation when not using cuda.
static constexpr int REFERENCE_POSITION_USD
Node reference position unit stride dimension.