ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
bessell0 Class Reference
Inheritance diagram for bessell0:
Collaboration diagram for bessell0:

Protected Member Functions

double sinc (double x)
void SetUp ()
void TearDown ()

Protected Attributes

int TableLength = 400
double interval = 0.01
ModuleBase::realArray table3
ModuleBase::realArray table4
ModuleBase::realArray y3
double * tablex
double * tabley

Detailed Description

This unit test is to verify the accuracy of interpolation method on the function sin(x)/x with a interval of 0.01. sin(x)/x is one of the solution of spherical bessel function when l=0.

  • Tested function:
    • 4 types of Polynomial_Interpolation
    • Polynomial_Interpolation_xy

Member Function Documentation

◆ SetUp()

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

◆ sinc()

double bessell0::sinc ( double x)
inlineprotected
Here is the caller graph for this function:

◆ TearDown()

void bessell0::TearDown ( )
inlineprotected

Member Data Documentation

◆ interval

double bessell0::interval = 0.01
protected

◆ table3

ModuleBase::realArray bessell0::table3
protected

◆ table4

ModuleBase::realArray bessell0::table4
protected

◆ TableLength

int bessell0::TableLength = 400
protected

◆ tablex

double* bessell0::tablex
protected

◆ tabley

double* bessell0::tabley
protected

◆ y3

ModuleBase::realArray bessell0::y3
protected

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