ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
kernel_pots.h
Go to the documentation of this file.
1#ifndef ABACUS_LR_KERNEL_POTS_H
2#define ABACUS_LR_KERNEL_POTS_H
3#include <memory>
4#include <string>
5#include <vector>
6struct Input_para;
7class UnitCell;
8class Charge;
9class Parallel_Grid;
10namespace ModulePW
11{
12class PW_Basis;
13}
14namespace LR
15{
16class PotHxcLR;
17class KernelXC;
20{
21 std::vector<std::shared_ptr<PotHxcLR>> pot;
22 std::shared_ptr<const KernelXC> kernel;
23 int gxc = 0;
24};
25
28KernelPotentials prepare_lr_potentials(const Input_para&, const std::string& xc_kernel,
29 const ModulePW::PW_Basis&, const UnitCell&, const Charge&, const Parallel_Grid&, int nspin, bool openshell);
31std::shared_ptr<PotHxcLR> prepare_gs_potential(const Input_para&, const std::string& xc_kernel,
32 const ModulePW::PW_Basis&, const UnitCell&, const Charge&, const Parallel_Grid&, int nspin, bool openshell,
33 const KernelPotentials&);
34}
35#endif
Definition charge.h:24
Calculate the exchange-correlation (XC) kernel ($f_{xc}=\delta^2E_xc/\delta\rho^2$) and store its com...
Definition xc_kernel.h:84
Definition pot_hxc_lrtd.h:12
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Definition parallel_grid.h:8
Provide the basic information about unitcell.
Definition unitcell.h:16
Definition esolver_lr_lcao_tddft.h:28
std::shared_ptr< PotHxcLR > prepare_gs_potential(const Input_para &input, const std::string &xc_kernel, const ModulePW::PW_Basis &rho_basis, const UnitCell &ucell, const Charge &chg_gs, const Parallel_Grid &grid, const int nspin, const bool openshell, const KernelPotentials &prepared)
Reuse LR coefficients for an identical GS functional and sufficient derivative order.
Definition kernel_pots.cpp:57
KernelPotentials prepare_lr_potentials(const Input_para &input, const std::string &xc_kernel, const ModulePW::PW_Basis &rho_basis, const UnitCell &ucell, const Charge &chg_gs, const Parallel_Grid &grid, const int nspin, const bool openshell)
Definition kernel_pots.cpp:8
Definition pw_op.cpp:3
Definition input_parameter.h:13
Own the LR spin potentials and the shared coefficient set prepared for this geometry.
Definition kernel_pots.h:20
std::shared_ptr< const KernelXC > kernel
Definition kernel_pots.h:22
std::vector< std::shared_ptr< PotHxcLR > > pot
Definition kernel_pots.h:21
int gxc
Definition kernel_pots.h:23