ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
mathzone_add1_test.cpp File Reference
#include "../mathzone_add1.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Include dependency graph for mathzone_add1_test.cpp:

Classes

class  MathzoneAdd1Test

Macros

#define PI   3.1415926535897932
#define MAX(x, y)

Functions

 TEST_F (MathzoneAdd1Test, Constructor)
 TEST_F (MathzoneAdd1Test, CubicSplineBoundary1)
 first kind boundary condition: f'(0) = f'(n) = 0.0
double count_err (double *x, std::function< double(double)> func, int n, int derivative)
 TEST_F (MathzoneAdd1Test, sinx_Boundary1)
 first kind boundary condition: f'(0) = f'(n) = 0.0
 TEST_F (MathzoneAdd1Test, sinx_Boundary2)
 second kind boundary condition: f''(0) = f''(n) = 0.0
 TEST_F (MathzoneAdd1Test, expx)
 TEST_F (MathzoneAdd1Test, CubicSplineBoundary2)
 second kind boundary condition: f''(0) = f''(n) = 0.0
 TEST_F (MathzoneAdd1Test, UniRadialF)
 TEST_F (MathzoneAdd1Test, Factorial)
 TEST_F (MathzoneAdd1Test, DualFac)

Macro Definition Documentation

◆ MAX

#define MAX ( x,
y )
Value:
((x) > (y) ? (x) : (y))

◆ PI

#define PI   3.1415926535897932

Function Documentation

◆ count_err()

double count_err ( double * x,
std::function< double(double)> func,
int n,
int derivative )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST_F() [1/9]

TEST_F ( MathzoneAdd1Test ,
Constructor  )

◆ TEST_F() [2/9]

TEST_F ( MathzoneAdd1Test ,
CubicSplineBoundary1  )

first kind boundary condition: f'(0) = f'(n) = 0.0

Here is the call graph for this function:

◆ TEST_F() [3/9]

TEST_F ( MathzoneAdd1Test ,
CubicSplineBoundary2  )

second kind boundary condition: f''(0) = f''(n) = 0.0

Here is the call graph for this function:

◆ TEST_F() [4/9]

TEST_F ( MathzoneAdd1Test ,
DualFac  )
Here is the call graph for this function:

◆ TEST_F() [5/9]

TEST_F ( MathzoneAdd1Test ,
expx  )
Here is the call graph for this function:

◆ TEST_F() [6/9]

TEST_F ( MathzoneAdd1Test ,
Factorial  )
Here is the call graph for this function:

◆ TEST_F() [7/9]

TEST_F ( MathzoneAdd1Test ,
sinx_Boundary1  )

first kind boundary condition: f'(0) = f'(n) = 0.0

Here is the call graph for this function:

◆ TEST_F() [8/9]

TEST_F ( MathzoneAdd1Test ,
sinx_Boundary2  )

second kind boundary condition: f''(0) = f''(n) = 0.0

Here is the call graph for this function:

◆ TEST_F() [9/9]

TEST_F ( MathzoneAdd1Test ,
UniRadialF  )
Here is the call graph for this function: