High Performance Plasticity  0.5.0
hpp::GSHCoeffsCUDA< T > Class Template Reference

#include <gshCUDA.h>

Public Member Functions

__host__ __device__ GSHCoeffsCUDA ()
 
__host__ __device__ bool isInSymmetrizedSection (int l, int m, int n)
 
__host__ __device__ unsigned int getFlatIdx (int l, int m, int n)
 
__host__ __device__ cuTypes< T >::complex get (int l, int m, int n)
 
__host__ __device__ void set (int l, int m, int n, typename cuTypes< T >::complex val)
 
__host__ std::vector< T > getl0Reals ()
 
__host__ std::vector< T > getl1Reals ()
 
__host__ std::vector< T > getl2Reals ()
 
__host__ std::vector< T > getl3Reals ()
 
__host__ std::vector< T > getl4Reals ()
 

Public Attributes

int nl0 = 2*0*(0+1)+1
 
int nl1 = 2*1*(1+1)+1
 
int nl2 = 2*2*(2+1)+1
 
int nl3 = 2*3*(3+1)+1
 
int nl4 = 2*4*(4+1)+1
 
cuTypes< T >::complex l0 [2 *0 *(0+1)+1]
 
cuTypes< T >::complex l1 [2 *1 *(1+1)+1]
 
cuTypes< T >::complex l2 [2 *2 *(2+1)+1]
 
cuTypes< T >::complex l3 [2 *3 *(3+1)+1]
 
cuTypes< T >::complex l4 [2 *4 *(4+1)+1]
 

Detailed Description

template<typename T>
class hpp::GSHCoeffsCUDA< T >

Author
Michael Malahe
Date
29/11/17

Constructor & Destructor Documentation

template<typename T>
__host__ __device__ hpp::GSHCoeffsCUDA< T >::GSHCoeffsCUDA ( )
inline

Member Function Documentation

template<typename T>
__host__ __device__ cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::get ( int  l,
int  m,
int  n 
)
inline
Todo:
a way of indicating failure on l too large
template<typename T>
__host__ __device__ unsigned int hpp::GSHCoeffsCUDA< T >::getFlatIdx ( int  l,
int  m,
int  n 
)
inline
template<typename T>
__host__ std::vector<T> hpp::GSHCoeffsCUDA< T >::getl0Reals ( )
inline
template<typename T>
__host__ std::vector<T> hpp::GSHCoeffsCUDA< T >::getl1Reals ( )
inline
template<typename T>
__host__ std::vector<T> hpp::GSHCoeffsCUDA< T >::getl2Reals ( )
inline
template<typename T>
__host__ std::vector<T> hpp::GSHCoeffsCUDA< T >::getl3Reals ( )
inline
template<typename T>
__host__ std::vector<T> hpp::GSHCoeffsCUDA< T >::getl4Reals ( )
inline
template<typename T>
__host__ __device__ bool hpp::GSHCoeffsCUDA< T >::isInSymmetrizedSection ( int  l,
int  m,
int  n 
)
inline
template<typename T>
__host__ __device__ void hpp::GSHCoeffsCUDA< T >::set ( int  l,
int  m,
int  n,
typename cuTypes< T >::complex  val 
)
inline
Todo:
a way of indicating failure on l too large

Member Data Documentation

template<typename T>
cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::l0[2 *0 *(0+1)+1]
template<typename T>
cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::l1[2 *1 *(1+1)+1]
template<typename T>
cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::l2[2 *2 *(2+1)+1]
template<typename T>
cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::l3[2 *3 *(3+1)+1]
template<typename T>
cuTypes<T>::complex hpp::GSHCoeffsCUDA< T >::l4[2 *4 *(4+1)+1]
template<typename T>
int hpp::GSHCoeffsCUDA< T >::nl0 = 2*0*(0+1)+1
template<typename T>
int hpp::GSHCoeffsCUDA< T >::nl1 = 2*1*(1+1)+1
template<typename T>
int hpp::GSHCoeffsCUDA< T >::nl2 = 2*2*(2+1)+1
template<typename T>
int hpp::GSHCoeffsCUDA< T >::nl3 = 2*3*(3+1)+1
template<typename T>
int hpp::GSHCoeffsCUDA< T >::nl4 = 2*4*(4+1)+1

The documentation for this class was generated from the following file: