ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
spar_dh.h
Go to the documentation of this file.
1#ifndef W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_HAMILT_LCAO_HAMILT_LCAODFT_SPAR_DH_H
2#define W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_HAMILT_LCAO_HAMILT_LCAODFT_SPAR_DH_H
3
10#include <vector>
11
13{
14void cal_dH(const UnitCell& ucell,
15 const Parallel_Orbitals& pv,
16 LCAO_HS_Arrays& HS_Arrays,
17 const Grid_Driver& grid,
18 const TwoCenterBundle& two_center_bundle,
19 const LCAO_Orbitals& orb,
20 const int& current_spin,
21 const double& sparse_thr,
22 const ModuleBase::matrix& v_eff,
23 Gint_k& gint_k);
24
25// calculated the derivative of the overlap matrix: <phi|dphi>
26void cal_dS(const UnitCell& ucell,
27 const Parallel_Orbitals& pv,
28 LCAO_HS_Arrays& HS_Arrays,
29 const Grid_Driver& grid,
30 const TwoCenterBundle& two_center_bundle,
31 const LCAO_Orbitals& orb,
32 const double& sparse_thr);
33
34// be called by 'cal_dH_sparse'
35void set_R_range(std::set<Abfs::Vector3_Order<int>>& all_R_coor, const Grid_Driver& grid);
36
37// be called by 'cal_dH_sparse'
38void cal_dSTN_R(const UnitCell& ucell,
39 const Parallel_Orbitals& pv,
40 LCAO_HS_Arrays& HS_Arrays,
41 ForceStressArrays& fsr, // mohan add 2024-06-16
42 const Grid_Driver& grid,
43 const std::vector<double>& orb_cutoff,
44 const int& current_spin,
45 const double& sparse_thr);
46
47void destroy_dH_R_sparse(LCAO_HS_Arrays& HS_Arrays);
48
49} // namespace sparse_format
50
51#endif
Definition abfs-vector3_order.h:16
Definition force_stress_arrays.h:5
Definition gint_k.h:13
Definition sltk_grid_driver.h:43
Definition LCAO_HS_arrays.hpp:9
Definition ORB_read.h:19
Definition matrix.h:19
Definition parallel_orbitals.h:9
Definition two_center_bundle.h:11
Definition unitcell.h:16
Definition spar_dh.h:13
void cal_dS(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const double &sparse_thr)
Definition spar_dh.cpp:8
void destroy_dH_R_sparse(LCAO_HS_Arrays &HS_Arrays)
Definition spar_dh.cpp:298
void set_R_range(std::set< Abfs::Vector3_Order< int > > &all_R_coor, const Grid_Driver &grid)
Definition spar_dh.cpp:145
void cal_dSTN_R(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, ForceStressArrays &fsr, const Grid_Driver &grid, const std::vector< double > &orb_cutoff, const int &current_spin, const double &sparse_thr)
Definition spar_dh.cpp:170
void cal_dH(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const int &current_spin, const double &sparse_thr, const ModuleBase::matrix &v_eff, Gint_k &gint_k)
Definition spar_dh.cpp:53