ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
cal_w_from_z.h File Reference
Include dependency graph for cal_w_from_z.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LR

Functions

template<typename T>
void LR::add_ediff_term (T *const inout, const T *const X, const double eig_ext_istate, const double *const eig_ks, const int nk, const int nocc, const int nvirt, const Parallel_Blkcyclic &px, const Parallel_Blkcyclic &p_occ_occ)
template<typename T>
void LR::cal_W_from_Z (const GradientInputs< T > &inputs, T *const W, const std::vector< ct::Tensor > &relaxed_density, const T *const X, const double eig, const double *const eig_ks, const psi::Psi< T > &psi_ks, const std::vector< Parallel_Blkcyclic > &p_occ_occ, const std::string &spin_type="singlet")
template<typename T>
void LR::cal_W_from_Z_openshell (const GradientInputs< T > &inputs, std::vector< std::vector< T > > &W, const std::vector< std::vector< ct::Tensor > > &relaxed_density, const T *const X, const double eig, const double *const eig_ks, const std::vector< Parallel_Blkcyclic > &p_occ_occ)
 Open-shell (spin-unrestricted) counterpart of cal_W_from_Z.