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

Protected Member Functions

void SetUp ()
 
void TearDown ()
 

Protected Attributes

double * func
 
double * rab
 
int mesh = 10001
 
double dr = M_PI/(mesh-1)
 
double asum
 
double * asumlist
 
double expectvalue = 2.0
 

Member Function Documentation

◆ SetUp()

void SimpsonIntegralSinx::SetUp ( )
inlineprotected

◆ TearDown()

void SimpsonIntegralSinx::TearDown ( )
inlineprotected

Member Data Documentation

◆ asum

double SimpsonIntegralSinx::asum
protected

◆ asumlist

double* SimpsonIntegralSinx::asumlist
protected

◆ dr

double SimpsonIntegralSinx::dr = M_PI/(mesh-1)
protected

◆ expectvalue

double SimpsonIntegralSinx::expectvalue = 2.0
protected

◆ func

double* SimpsonIntegralSinx::func
protected

test the integral of sinx between [0,PI], devide to mesh-1 parts

◆ mesh

int SimpsonIntegralSinx::mesh = 10001
protected

◆ rab

double* SimpsonIntegralSinx::rab
protected

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