Compare unrestricted GXC with a separate derivative of the LR quadratic form.
More...
|
| void | SetUp () override |
| bool | has_hse_kxc () |
| std::shared_ptr< const LR::KernelXC > | kernel (const std::string &name, const bool open, const int gxc) |
| std::vector< ModuleBase::Vector3< double > > | gradient (const std::vector< double > &values) const |
| double | quadratic (const std::string &name, const std::vector< double > transition[2]) |
| | Independently evaluate the second-order LR quadratic form, without KXC.
|
Compare unrestricted GXC with a separate derivative of the LR quadratic form.
◆ gradient()
| std::vector< ModuleBase::Vector3< double > > PotGradXCTest::gradient |
( |
const std::vector< double > & | values | ) |
const |
|
inlineprotected |
- Returns
- Discrete gradient with the same linear operator as the isolated FFT mock.
◆ has_hse_kxc()
| bool PotGradXCTest::has_hse_kxc |
( |
| ) |
|
|
inlineprotected |
- Returns
- Whether this installed HSE implementation advertises KXC.
◆ kernel()
| std::shared_ptr< const LR::KernelXC > PotGradXCTest::kernel |
( |
const std::string & | name, |
|
|
const bool | open, |
|
|
const int | gxc ) |
|
inlineprotected |
- Returns
- Borrowed-grid kernel with explicit shell layout and derivative request.
◆ quadratic()
| double PotGradXCTest::quadratic |
( |
const std::string & | name, |
|
|
const std::vector< double > | transition[2] ) |
|
inlineprotected |
Independently evaluate the second-order LR quadratic form, without KXC.
- Parameters
-
| [in] | name | Functional for the evaluated LR kernel. |
| [in] | transition | Two real transition-density channels on the three-point grid. |
- Returns
- Unweighted quadratic form in Hartree conventions.
◆ SetUp()
| void PotGradXCTest::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
◆ basis
◆ cell
◆ charge
◆ density
| double* PotGradXCTest::density[2] |
|
protected |
◆ down
| std::vector<double> PotGradXCTest::down |
|
protected |
◆ grid
◆ up
| std::vector<double> PotGradXCTest::up |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_lr/unittests/test_pot_grad_xc.cpp