Definition deepks_basic.h:14
void prepare_phialpha(const int nlocal, const int lmaxd, const int inlmax, const int nat, const int nks, const std::vector< ModuleBase::Vector3< double > > &kvec_d, const std::vector< hamilt::HContainer< double > * > phialpha, const UnitCell &ucell, const LCAO_Orbitals &orb, const Parallel_Orbitals &pv, const Grid_Driver &GridD, torch::Tensor &phialpha_out)
Definition deepks_vdpre.cpp:175
void cal_v_delta_precalc(const int nlocal, const int lmaxd, const int inlmax, const int nat, const int nks, const std::vector< int > &inl2l, const std::vector< ModuleBase::Vector3< double > > &kvec_d, const std::vector< hamilt::HContainer< double > * > phialpha, const std::vector< torch::Tensor > gevdm, const ModuleBase::IntArray *inl_index, const UnitCell &ucell, const LCAO_Orbitals &orb, const Parallel_Orbitals &pv, const Grid_Driver &GridD, torch::Tensor &v_delta_precalc)
cal_v_delta_precalc : v_delta_precalc is used for training with v_delta label,
Definition deepks_vdpre.cpp:24
void prepare_gevdm(const int nat, const int lmaxd, const int inlmax, const LCAO_Orbitals &orb, const std::vector< torch::Tensor > &gevdm_in, torch::Tensor &gevdm_out)
Definition deepks_vdpre.cpp:270