QMCPACK
Ylm.h File Reference
+ Include dependency graph for Ylm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

template<typename T >
LegendrePll (int l, T x)
 
template<typename T >
LegendrePlm (int l, int m, T x)
 
template<typename T >
std::complex< T > Ylm (int l, int m, const TinyVector< T, 3 > &r)
 calculates Ylm param[in] l angular momentum param[in] m magnetic quantum number param[in] r position vector. More...
 
template<typename T >
void derivYlmSpherical (const int l, const int m, const TinyVector< T, 3 > &r, std::complex< T > &theta_deriv, std::complex< T > &phi_deriv, const bool conj)
 calculate the derivative of a Ylm with respect to theta and phi param[in] l: angular momentum param[in] m: magnetic quantum number param[in] r: cartesian position align with [z,x,y]. More...
 
template<typename T >
std::complex< T > sphericalHarmonic (const int l, const int m, const TinyVector< T, 3 > &r)
 wrapper for Ylm, which can take any normal position vector as an argument param[in] l angular momentum param[in] m magnetic quantum number param[in] r is a position vector. More...
 
template<typename T >
void sphericalHarmonicGrad (const int l, const int m, const TinyVector< T, 3 > &r, TinyVector< std::complex< T >, 3 > &grad)
 get cartesian derivatives of spherical Harmonics. More...