DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::atoms::SphericalHarmonicFunctions Class Reference

#include <SphericalHarmonicFunctions.h>

Public Member Functions

 SphericalHarmonicFunctions (const bool isAssocLegendreSplineEval)
 
 ~SphericalHarmonicFunctions ()=default
 
DFTEFE_HOST_DEVICE_FUNC double Plm (const int l, const int m, const double theta) const
 
DFTEFE_HOST_DEVICE_FUNC double dPlmDTheta (const int l, const int m, const double theta) const
 
DFTEFE_HOST_DEVICE_FUNC double d2PlmDTheta2 (const int l, const int m, const double theta) const
 
template<dftefe::utils::MemorySpace memorySpace>
void Plm (size_type numPoints, const int l, const int m, const double *theta, double *out, utils::deviceStream_t streamId=utils::defaultStream) const
 
template<dftefe::utils::MemorySpace memorySpace>
void dPlmDTheta (size_type numPoints, const int l, const int m, const double *theta, double *out, utils::deviceStream_t streamId=utils::defaultStream) const
 
template<dftefe::utils::MemorySpace memorySpace>
void d2PlmDTheta2 (size_type numPoints, const int l, const int m, const double *theta, double *out, utils::deviceStream_t streamId=utils::defaultStream) const
 

Private Attributes

std::vector< std::vector< std::shared_ptr< const utils::Spline > > > d_assocLegendreSpline
 
bool d_isAssocLegendreSplineEval
 

Constructor & Destructor Documentation

◆ SphericalHarmonicFunctions()

dftefe::atoms::SphericalHarmonicFunctions::SphericalHarmonicFunctions ( const bool  isAssocLegendreSplineEval)
Here is the call graph for this function:

◆ ~SphericalHarmonicFunctions()

dftefe::atoms::SphericalHarmonicFunctions::~SphericalHarmonicFunctions ( )
default

Member Function Documentation

◆ d2PlmDTheta2() [1/2]

DFTEFE_HOST_DEVICE_FUNC double dftefe::atoms::SphericalHarmonicFunctions::d2PlmDTheta2 ( const int  l,
const int  m,
const double  theta 
) const
Here is the caller graph for this function:

◆ d2PlmDTheta2() [2/2]

template<dftefe::utils::MemorySpace memorySpace>
void dftefe::atoms::SphericalHarmonicFunctions::d2PlmDTheta2 ( size_type  numPoints,
const int  l,
const int  m,
const double *  theta,
double *  out,
utils::deviceStream_t  streamId = utils::defaultStream 
) const

◆ dPlmDTheta() [1/2]

DFTEFE_HOST_DEVICE_FUNC double dftefe::atoms::SphericalHarmonicFunctions::dPlmDTheta ( const int  l,
const int  m,
const double  theta 
) const
Here is the caller graph for this function:

◆ dPlmDTheta() [2/2]

template<dftefe::utils::MemorySpace memorySpace>
void dftefe::atoms::SphericalHarmonicFunctions::dPlmDTheta ( size_type  numPoints,
const int  l,
const int  m,
const double *  theta,
double *  out,
utils::deviceStream_t  streamId = utils::defaultStream 
) const

◆ Plm() [1/2]

DFTEFE_HOST_DEVICE_FUNC double dftefe::atoms::SphericalHarmonicFunctions::Plm ( const int  l,
const int  m,
const double  theta 
) const
Here is the caller graph for this function:

◆ Plm() [2/2]

template<dftefe::utils::MemorySpace memorySpace>
void dftefe::atoms::SphericalHarmonicFunctions::Plm ( size_type  numPoints,
const int  l,
const int  m,
const double *  theta,
double *  out,
utils::deviceStream_t  streamId = utils::defaultStream 
) const

Member Data Documentation

◆ d_assocLegendreSpline

std::vector<std::vector<std::shared_ptr<const utils::Spline> > > dftefe::atoms::SphericalHarmonicFunctions::d_assocLegendreSpline
private

◆ d_isAssocLegendreSplineEval

bool dftefe::atoms::SphericalHarmonicFunctions::d_isAssocLegendreSplineEval
private

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