High Performance Plasticity  0.5.0
hpp::SpectralDataset< U > Class Template Reference

#include <spectralUtils.h>

Public Member Functions

 SpectralDataset ()
 
 SpectralDataset (const std::vector< std::vector< unsigned int >> &coordsList, const std::vector< std::complex< U >> &coeffList)
 
const std::shared_ptr< U > & getCoeffs () const
 
const std::shared_ptr< int > & getCoords () const
 
unsigned int getNDims () const
 
unsigned int getNTerms () const
 

Private Attributes

unsigned int nDims
 
unsigned int nTerms
 
std::shared_ptr< int > coords
 
std::shared_ptr< U > coeffs
 
unsigned int alignment = HPP_DEFAULT_ALIGNMENT
 

Detailed Description

template<typename U>
class hpp::SpectralDataset< U >

Author
Michael Malahe
Date
08/03/17

Constructor & Destructor Documentation

template<typename U >
hpp::SpectralDataset< U >::SpectralDataset ( )
inline
template<typename U >
hpp::SpectralDataset< U >::SpectralDataset ( const std::vector< std::vector< unsigned int >> &  coordsList,
const std::vector< std::complex< U >> &  coeffList 
)

Member Function Documentation

template<typename U >
const std::shared_ptr<U>& hpp::SpectralDataset< U >::getCoeffs ( ) const
inline
template<typename U >
const std::shared_ptr<int>& hpp::SpectralDataset< U >::getCoords ( ) const
inline
template<typename U >
unsigned int hpp::SpectralDataset< U >::getNDims ( ) const
inline
template<typename U >
unsigned int hpp::SpectralDataset< U >::getNTerms ( ) const
inline

Member Data Documentation

template<typename U >
unsigned int hpp::SpectralDataset< U >::alignment = HPP_DEFAULT_ALIGNMENT
private
template<typename U >
std::shared_ptr<U> hpp::SpectralDataset< U >::coeffs
private

The complex coefficients, arranged as [Re(coeff[0]), Im(coeff[0]), ..., Re(coeff[M-1]), Im(coeff[M-1])]

template<typename U >
std::shared_ptr<int> hpp::SpectralDataset< U >::coords
private

An array of the spectral coordinates of the terms, arranged as [coord[0][0], coord[0][1], ..., coord[0][N-1], coord[1][0], coord[1][1], ..., coord[1][N-1], ... coord[M-1][0], coord[M-1][1], ..., coord[M-1][N-1]], where M is the number of terms and N is the dimension.

template<typename U >
unsigned int hpp::SpectralDataset< U >::nDims
private
template<typename U >
unsigned int hpp::SpectralDataset< U >::nTerms
private

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