41 template <
typename FPTYPE,
typename Device>
42 static void Ylm_Real(Device * ctx,
const int lmax2,
const int ng,
const FPTYPE *g, FPTYPE * ylm);
100 static long double Fact(
const int n);
3 elements vector
Definition vector3.h:22
Definition math_ylmreal.h:11
static void Ylm_Real(const int lmax2, const int ng, const ModuleBase::Vector3< double > *g, matrix &ylm)
spherical harmonic function (real form) an array of vectors
Definition math_ylmreal.cpp:357
static void rlylm(const int lmax, const double &x, const double &y, const double &z, double *rly)
spherical harmonic function (Herglotz generating form) of a vector
Definition math_ylmreal.cpp:23
~YlmReal()
Definition math_ylmreal.cpp:20
static void Ylm_Real2(const int lmax2, const int ng, const ModuleBase::Vector3< double > *g, matrix &ylm)
spherical harmonic function (Herglotz generating form) of an array of vectors
Definition math_ylmreal.cpp:245
YlmReal()
Definition math_ylmreal.cpp:19
static long double Fact(const int n)
Definition math_ylmreal.cpp:679
static void grad_Ylm_Real(const int lmax2, const int ng, const ModuleBase::Vector3< double > *g, matrix &ylm, matrix &dylmx, matrix &dylmy, matrix &dylmz)
gradient of spherical harmonic function (real form) an array of vectors
Definition math_ylmreal.cpp:622
static int Semi_Fact(const int n)
Definition math_ylmreal.cpp:689
Definition array_pool.h:6