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

Protected Member Functions

void SetUp ()
void TearDown ()
void CG_Solve_LinearEq ()
void Solve (int cg_label, int func_label)

Protected Attributes

ModuleBase::Opt_CG cg
ModuleBase::Opt_DCsrch ds
TestTools tools
int maxiter = 500
double step = 1.
double residual = 10.
double tol = 1e-5
int final_iter = 0
std::string task
double * Ap = nullptr
double * p = nullptr
double * x = nullptr

Member Function Documentation

◆ CG_Solve_LinearEq()

void CG_test::CG_Solve_LinearEq ( )
inlineprotected

◆ SetUp()

void CG_test::SetUp ( )
inlineprotected

◆ Solve()

void CG_test::Solve ( int cg_label,
int func_label )
inlineprotected
Here is the call graph for this function:

◆ TearDown()

void CG_test::TearDown ( )
inlineprotected

Member Data Documentation

◆ Ap

double* CG_test::Ap = nullptr
protected

◆ cg

ModuleBase::Opt_CG CG_test::cg
protected

◆ ds

ModuleBase::Opt_DCsrch CG_test::ds
protected

◆ final_iter

int CG_test::final_iter = 0
protected

◆ maxiter

int CG_test::maxiter = 500
protected

◆ p

double* CG_test::p = nullptr
protected

◆ residual

double CG_test::residual = 10.
protected

◆ step

double CG_test::step = 1.
protected

◆ task

std::string CG_test::task
protected

◆ tol

double CG_test::tol = 1e-5
protected

◆ tools

TestTools CG_test::tools
protected

◆ x

double* CG_test::x = nullptr
protected

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