ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | List of all members
YlmRealTest Class Reference
Inheritance diagram for YlmRealTest:
Collaboration diagram for YlmRealTest:

Protected Member Functions

double norm (const double &x, const double &y, const double &z)
 
double y00 (const double &x, const double &y, const double &z)
 
double y10 (const double &x, const double &y, const double &z)
 
double y11 (const double &x, const double &y, const double &z)
 
double y1m1 (const double &x, const double &y, const double &z)
 
double y20 (const double &x, const double &y, const double &z)
 
double y21 (const double &x, const double &y, const double &z)
 
double y2m1 (const double &x, const double &y, const double &z)
 
double y22 (const double &x, const double &y, const double &z)
 
double y2m2 (const double &x, const double &y, const double &z)
 
double y30 (const double &x, const double &y, const double &z)
 
double y31 (const double &x, const double &y, const double &z)
 
double y3m1 (const double &x, const double &y, const double &z)
 
double y32 (const double &x, const double &y, const double &z)
 
double y3m2 (const double &x, const double &y, const double &z)
 
double y33 (const double &x, const double &y, const double &z)
 
double y3m3 (const double &x, const double &y, const double &z)
 
double y40 (const double &x, const double &y, const double &z)
 
double y41 (const double &x, const double &y, const double &z)
 
double y4m1 (const double &x, const double &y, const double &z)
 
double y42 (const double &x, const double &y, const double &z)
 
double y4m2 (const double &x, const double &y, const double &z)
 
double y43 (const double &x, const double &y, const double &z)
 
double y4m3 (const double &x, const double &y, const double &z)
 
double y44 (const double &x, const double &y, const double &z)
 
double y4m4 (const double &x, const double &y, const double &z)
 
void SetUp ()
 
void TearDown ()
 

Protected Attributes

int lmax = 7
 
int ng = 4
 
int nylm = 64
 
ModuleBase::matrix ylm
 
ModuleBase::matrixdylm
 
ModuleBase::Vector3< double > * g
 
double * ref
 
double * rly
 
double(* rlgy )[3]
 
std::vector< double > rlyvector
 
ModuleBase::Array_Pool< double > rlgyvector
 
double rlgyref [4][64][3]
 

Detailed Description

For lmax <5 cases, the reference values are calculated by the formula from https://formulasearchengine.com/wiki/Table_of_spherical_harmonics. Note, these formula lack of the Condon–Shortley phase (-1)^m, and in this unit test, item (-1)^m is multiplied. For lmax >=5, the reference values are calculated by YlmReal::Ylm_Real.

Member Function Documentation

◆ norm()

double YlmRealTest::norm ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the caller graph for this function:

◆ SetUp()

void YlmRealTest::SetUp ( )
inlineprotected
Here is the call graph for this function:

◆ TearDown()

void YlmRealTest::TearDown ( )
inlineprotected

◆ y00()

double YlmRealTest::y00 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the caller graph for this function:

◆ y10()

double YlmRealTest::y10 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y11()

double YlmRealTest::y11 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y1m1()

double YlmRealTest::y1m1 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y20()

double YlmRealTest::y20 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y21()

double YlmRealTest::y21 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y22()

double YlmRealTest::y22 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y2m1()

double YlmRealTest::y2m1 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y2m2()

double YlmRealTest::y2m2 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y30()

double YlmRealTest::y30 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y31()

double YlmRealTest::y31 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y32()

double YlmRealTest::y32 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y33()

double YlmRealTest::y33 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y3m1()

double YlmRealTest::y3m1 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y3m2()

double YlmRealTest::y3m2 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y3m3()

double YlmRealTest::y3m3 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y40()

double YlmRealTest::y40 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y41()

double YlmRealTest::y41 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y42()

double YlmRealTest::y42 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y43()

double YlmRealTest::y43 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y44()

double YlmRealTest::y44 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y4m1()

double YlmRealTest::y4m1 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y4m2()

double YlmRealTest::y4m2 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y4m3()

double YlmRealTest::y4m3 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y4m4()

double YlmRealTest::y4m4 ( const double &  x,
const double &  y,
const double &  z 
)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ dylm

ModuleBase::matrix* YlmRealTest::dylm
protected

◆ g

ModuleBase::Vector3<double>* YlmRealTest::g
protected

◆ lmax

int YlmRealTest::lmax = 7
protected

◆ ng

int YlmRealTest::ng = 4
protected

◆ nylm

int YlmRealTest::nylm = 64
protected

◆ ref

double* YlmRealTest::ref
protected

◆ rlgy

double(* YlmRealTest::rlgy)[3]
protected

◆ rlgyref

double YlmRealTest::rlgyref[4][64][3]
protected

◆ rlgyvector

ModuleBase::Array_Pool<double> YlmRealTest::rlgyvector
protected

◆ rly

double* YlmRealTest::rly
protected

◆ rlyvector

std::vector<double> YlmRealTest::rlyvector
protected

◆ ylm

ModuleBase::matrix YlmRealTest::ylm
protected

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