ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
pulay_fs.h
Go to the documentation of this file.
1#ifndef ABACUS_SOURCE_LCAO_PULAY_FS_H
2#define ABACUS_SOURCE_LCAO_PULAY_FS_H
3
8
13namespace PulayForceStress
14{
16 template<typename TK, typename TR>
21 const UnitCell& ucell,
22 const Parallel_Orbitals& pv,
23 const double* (&dHSx)[3],
24 const double* (&dHSxy)[6],
25 const bool& isforce,
26 const bool& isstress,
27 Record_adj* ra = nullptr,
28 const double& factor_force = 1.0,
29 const double& factor_stress = 1.0);
30
32 template<typename TK, typename TR>
37 const UnitCell& ucell,
38 const Parallel_Orbitals& pv,
39 const double* (&dHSx)[3],
40 const double* dtau,
41 const bool& isforce,
42 const bool& isstress,
43 Record_adj* ra = nullptr,
44 const double& factor_force = 1.0,
45 const double& factor_stress = 1.0);
46
48 template<typename TK, typename TR>
49 void cal_pulay_fs(const int nspin,
53 const UnitCell& ucell,
54 const elecstate::Potential* pot,
55 const bool& isforce,
56 const bool& isstress,
57 const bool& set_dmr_gint = true);
58}
59#include "pulay_fs_temp.h"
60#include "pulay_fs_gint.h"
61
62#endif // ABACUS_SOURCE_LCAO_PULAY_FS_H
Definition matrix.h:15
Definition parallel_orbitals.h:16
Definition record_adj.h:15
Provide the basic information about unitcell.
Definition unitcell.h:16
Definition potential_new.h:58
DensityMatrix Class <TK,TR> = <double,double> for Gamma-only calculation <TK,TR> = <std::complex<doub...
Definition density_matrix.h:172
Definition pulay_hc.h:12
ModuleBase::matrix cal_pulay_fs(const module_dm::DensityMatrix< TK, double > &dm, const UnitCell &ucell, const std::vector< hamilt::HContainer< double > > &dHS, const double &factor_force=1.0)
for 2-center-integration terms, provided HS derivatives
Definition pulay_hc.h:16