ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
KernelXCTest Class Reference

Exercise coefficient availability with real LibXC on zero or one local grid point. More...

Inheritance diagram for KernelXCTest:
Collaboration diagram for KernelXCTest:

Protected Member Functions

void SetUp () override
std::shared_ptr< const LR::KernelXC > build (const std::string &name, const int spins, const int requested)
bool hse_has_kxc (const int spins)
 Respect the installed LibXC HSE derivative capability in coefficient tests.

Protected Attributes

ModulePW::PW_Basis basis
UnitCell cell
Charge charge
Parallel_Grid grid
double density_value = 0.3
double * density [2] = {&density_value, &density_value}

Detailed Description

Exercise coefficient availability with real LibXC on zero or one local grid point.

Member Function Documentation

◆ build()

std::shared_ptr< const LR::KernelXC > KernelXCTest::build ( const std::string & name,
const int spins,
const int requested )
inlineprotected
Here is the call graph for this function:

◆ hse_has_kxc()

bool KernelXCTest::hse_has_kxc ( const int spins)
inlineprotected

Respect the installed LibXC HSE derivative capability in coefficient tests.

Parameters
[in]spinsNative spin-component count, one or two.
Returns
Whether every HSE component advertises third derivatives.
Here is the call graph for this function:

◆ SetUp()

void KernelXCTest::SetUp ( )
inlineoverrideprotected

Member Data Documentation

◆ basis

ModulePW::PW_Basis KernelXCTest::basis
protected

◆ cell

UnitCell KernelXCTest::cell
protected

◆ charge

Charge KernelXCTest::charge
protected

◆ density

double* KernelXCTest::density[2] = {&density_value, &density_value}
protected

◆ density_value

double KernelXCTest::density_value = 0.3
protected

◆ grid

Parallel_Grid KernelXCTest::grid
protected

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