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 SPAR_DH_H
2#define SPAR_DH_H
3
11#include <vector>
12
14{
15void cal_dH(const UnitCell& ucell,
16 const Parallel_Orbitals& pv,
17 LCAO_HS_Arrays& HS_Arrays,
18 const Grid_Driver& grid,
19 const TwoCenterBundle& two_center_bundle,
20 const LCAO_Orbitals& orb,
21 const int& current_spin,
22 const double& sparse_thr,
23 const ModuleBase::matrix& v_eff);
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 sltk_grid_driver.h:40
Definition LCAO_HS_arrays.hpp:9
Definition ORB_read.h:18
Definition matrix.h:18
Definition parallel_orbitals.h:9
Definition two_center_bundle.h:11
Definition unitcell.h:15
Definition spar_dh.h:14
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:276
void set_R_range(std::set< Abfs::Vector3_Order< int > > &all_R_coor, const Grid_Driver &grid)
Definition spar_dh.cpp:123
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:148
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)
Definition spar_dh.cpp:53