Definition at line 12 of file Monomial.cuh.
Public Member Functions | |
__host__ __device__ | Monomial_gpu (const Monomial_gpu< dim > &other) |
__host__ __device__ | Monomial_gpu (const Monomial< dim > &other) |
__host__ __device__ | Monomial_gpu (const Point< dim, unsigned int > &other, unsigned int scalar=1) |
__host__ __device__ | Monomial_gpu (const Point< dim, long int > &other, unsigned int scalar=1) |
__host__ __device__ | Monomial_gpu (const unsigned int other[dim]) |
__host__ __device__ Monomial_gpu< dim > & | operator= (const Monomial_gpu< dim > &other) |
__host__ __device__ Monomial_gpu< dim > & | operator= (const Monomial< dim > &other) |
__host__ __device__ bool | operator== (const Monomial_gpu< dim > &other) const |
__host__ __device__ void | swap (const Monomial_gpu< dim > &other) |
__host__ __device__ unsigned int | order () const |
__host__ __device__ unsigned int | getExponent (unsigned int i) const |
__host__ __device__ void | setExponent (unsigned int i, unsigned int value) |
__host__ __device__ Monomial_gpu< dim > | getDerivative (const Point< dim, unsigned int > differentialOrder) const |
__host__ __device__ unsigned int | getScalar () const |
template<typename T > | |
__host__ __device__ T | evaluate (const Point< dim, T > x) const |
template<typename T > | |
__host__ __device__ T | evaluate (const T(&x)[dim]) const |
Private Member Functions | |
__host__ __device__ void | updateSum () |
Private Attributes | |
unsigned int | sum = 0 |
unsigned int | exponents [dim] |
unsigned int | scalar = 1 |
__host__ __device__ Monomial_gpu< dim >::Monomial_gpu |
Definition at line 46 of file Monomial.cuh.
__host__ __device__ Monomial_gpu< dim >::Monomial_gpu | ( | const Monomial_gpu< dim > & | other | ) |
Definition at line 77 of file Monomial.cuh.
__host__ __device__ Monomial_gpu< dim >::Monomial_gpu | ( | const Monomial< dim > & | other | ) |
Definition at line 85 of file Monomial.cuh.
|
explicit |
Definition at line 53 of file Monomial.cuh.
|
explicit |
Definition at line 61 of file Monomial.cuh.
|
explicit |
Definition at line 69 of file Monomial.cuh.
__host__ __device__ T Monomial_gpu< dim >::evaluate | ( | const Point< dim, T > | x | ) | const |
Definition at line 156 of file Monomial.cuh.
__host__ __device__ T Monomial_gpu< dim >::evaluate | ( | const T(&) | x[dim] | ) | const |
Definition at line 167 of file Monomial.cuh.
__host__ __device__ Monomial_gpu< dim > Monomial_gpu< dim >::getDerivative | ( | const Point< dim, unsigned int > | differentialOrder | ) | const |
Definition at line 177 of file Monomial.cuh.
__host__ __device__ unsigned int Monomial_gpu< dim >::getExponent | ( | unsigned int | i | ) | const |
Definition at line 129 of file Monomial.cuh.
|
inline |
Definition at line 36 of file Monomial.cuh.
__host__ __device__ Monomial_gpu< dim > & Monomial_gpu< dim >::operator= | ( | const Monomial< dim > & | other | ) |
Definition at line 104 of file Monomial.cuh.
__host__ __device__ Monomial_gpu< dim > & Monomial_gpu< dim >::operator= | ( | const Monomial_gpu< dim > & | other | ) |
Definition at line 93 of file Monomial.cuh.
__host__ __device__ bool Monomial_gpu< dim >::operator== | ( | const Monomial_gpu< dim > & | other | ) | const |
Definition at line 142 of file Monomial.cuh.
__host__ __device__ unsigned int Monomial_gpu< dim >::order |
Definition at line 123 of file Monomial.cuh.
__host__ __device__ void Monomial_gpu< dim >::setExponent | ( | unsigned int | i, |
unsigned int | value | ||
) |
Definition at line 135 of file Monomial.cuh.
__host__ __device__ void Monomial_gpu< dim >::swap | ( | const Monomial_gpu< dim > & | other | ) |
Definition at line 195 of file Monomial.cuh.
|
private |
Definition at line 115 of file Monomial.cuh.
|
private |
Definition at line 16 of file Monomial.cuh.
|
private |
Definition at line 17 of file Monomial.cuh.
|
private |
Definition at line 15 of file Monomial.cuh.