ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Force_Stress_LCAO< T > Class Template Reference

#include <force_stress_lcao.h>

Collaboration diagram for Force_Stress_LCAO< T >:

Public Member Functions

 Force_Stress_LCAO (Record_adj &ra, const int nat_in)
 ~Force_Stress_LCAO ()
void getForceStress (UnitCell &ucell, const vdw::VdwResult *vdw_result, const bool isforce, const bool isstress, const bool istestf, const bool istests, const Grid_Driver &gd, Parallel_Orbitals &pv, const BasisFlattenedIndexing &basis, const elecstate::ElecState *pelec, module_dm::Setup_DM< T > &dmat, const psi::Psi< T > *psi, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, ModuleBase::matrix &fcs, ModuleBase::matrix &scs, const pseudopot_cell_vl &locpp, const Structure_Factor &sf, const K_Vectors &kv, ModulePW::PW_Basis *rhopw, surchem &solvent, Plus_U_Base &dftu, Setup_DeePKS< T > &deepks, Exx_NAO< T > &exx_nao, ModuleSymmetry::Symmetry *symm, const Exx_Info &exx_info, const FSCalcConfig &cfg, TD_info *td_info, hamilt::Hamilt< T > *p_hamilt)

Private Member Functions

void cal_operator_fs (UnitCell &ucell, const Grid_Driver &gd, Parallel_Orbitals &pv, const BasisFlattenedIndexing &basis, const elecstate::ElecState *pelec, module_dm::Setup_DM< T > &dmat, const psi::Psi< T > *psi, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const K_Vectors &kv, const bool isforce, const bool isstress, const FSCalcConfig &cfg, TD_info *td_info, hamilt::Hamilt< T > *p_hamilt, LCAOForceParts &parts, LCAOStressParts &sparts)
void calForcePwPart (UnitCell &ucell, ModuleBase::matrix &fvl_dvl, ModuleBase::matrix &fewalds, ModuleBase::matrix &fcc, ModuleBase::matrix &fscc, const double &etxc, const ModuleBase::matrix &vnew, const bool vnew_exist, const Charge *const chr, ModulePW::PW_Basis *rhopw, const pseudopot_cell_vl &locpp, const Structure_Factor &sf, const FSCalcConfig &cfg)

Private Attributes

int nat
Record_adj * RA = nullptr
CalEDM< T > edm_cal
Stress_Func< double > sc_pw

Static Private Attributes

static double force_invalid_threshold_ev

Friends

class md
class ions
void Input_Conv::Convert ()

Constructor & Destructor Documentation

◆ Force_Stress_LCAO()

template<typename T>
Force_Stress_LCAO< T >::Force_Stress_LCAO ( Record_adj & ra,
const int nat_in )

◆ ~Force_Stress_LCAO()

template<typename T>
Force_Stress_LCAO< T >::~Force_Stress_LCAO ( )

Member Function Documentation

◆ cal_operator_fs()

template<typename T>
void Force_Stress_LCAO< T >::cal_operator_fs ( UnitCell & ucell,
const Grid_Driver & gd,
Parallel_Orbitals & pv,
const BasisFlattenedIndexing & basis,
const elecstate::ElecState * pelec,
module_dm::Setup_DM< T > & dmat,
const psi::Psi< T > * psi,
const TwoCenterBundle & two_center_bundle,
const LCAO_Orbitals & orb,
const K_Vectors & kv,
const bool isforce,
const bool isstress,
const FSCalcConfig & cfg,
TD_info * td_info,
hamilt::Hamilt< T > * p_hamilt,
LCAOForceParts & parts,
LCAOStressParts & sparts )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calForcePwPart()

template<typename T>
void Force_Stress_LCAO< T >::calForcePwPart ( UnitCell & ucell,
ModuleBase::matrix & fvl_dvl,
ModuleBase::matrix & fewalds,
ModuleBase::matrix & fcc,
ModuleBase::matrix & fscc,
const double & etxc,
const ModuleBase::matrix & vnew,
const bool vnew_exist,
const Charge *const chr,
ModulePW::PW_Basis * rhopw,
const pseudopot_cell_vl & locpp,
const Structure_Factor & sf,
const FSCalcConfig & cfg )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getForceStress()

template<typename T>
void Force_Stress_LCAO< T >::getForceStress ( UnitCell & ucell,
const vdw::VdwResult * vdw_result,
const bool isforce,
const bool isstress,
const bool istestf,
const bool istests,
const Grid_Driver & gd,
Parallel_Orbitals & pv,
const BasisFlattenedIndexing & basis,
const elecstate::ElecState * pelec,
module_dm::Setup_DM< T > & dmat,
const psi::Psi< T > * psi,
const TwoCenterBundle & two_center_bundle,
const LCAO_Orbitals & orb,
ModuleBase::matrix & fcs,
ModuleBase::matrix & scs,
const pseudopot_cell_vl & locpp,
const Structure_Factor & sf,
const K_Vectors & kv,
ModulePW::PW_Basis * rhopw,
surchem & solvent,
Plus_U_Base & dftu,
Setup_DeePKS< T > & deepks,
Exx_NAO< T > & exx_nao,
ModuleSymmetry::Symmetry * symm,
const Exx_Info & exx_info,
const FSCalcConfig & cfg,
TD_info * td_info,
hamilt::Hamilt< T > * p_hamilt )

stress

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Input_Conv::Convert

template<typename T>
void Input_Conv::Convert ( )
friend

◆ ions

template<typename T>
friend class ions
friend

◆ md

template<typename T>
friend class md
friend

Member Data Documentation

◆ edm_cal

template<typename T>
CalEDM<T> Force_Stress_LCAO< T >::edm_cal
private

◆ force_invalid_threshold_ev

template<typename T>
double Force_Stress_LCAO< T >::force_invalid_threshold_ev
staticprivate

◆ nat

template<typename T>
int Force_Stress_LCAO< T >::nat
private

◆ RA

template<typename T>
Record_adj* Force_Stress_LCAO< T >::RA = nullptr
private

◆ sc_pw

template<typename T>
Stress_Func<double> Force_Stress_LCAO< T >::sc_pw
private

The documentation for this class was generated from the following files: