OpenFPM  5.2.0
Project that contain the implementation of distributed structures
Monomial_gpu< dim > Class Template Reference

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
 

Detailed Description

template<unsigned int dim>
class Monomial_gpu< dim >

Definition at line 12 of file Monomial.cuh.


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