ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
cvcx.h File Reference
#include <ATen/core/tensor.h>
#include "source_psi/psi.h"
#include <vector>
#include "source_base/parallel_blkcyc.h"
Include dependency graph for cvcx.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::CVCX_occ_forloop_serial (const std::vector< container::Tensor > &V_istate, const psi::Psi< T, base_device::DEVICE_CPU > &c, const T *const X_istate, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate)
 $\sum_{k\mu\nu}C^*_{\mu i}K_{\mu\nu}C_{\nu k}X_{ak}^*$
template<typename T>
void LR::CVCX_occ_blas (const std::vector< container::Tensor > &V_istate, const psi::Psi< T, base_device::DEVICE_CPU > &c, const T *const X_istate, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate, const bool add_on=true, const T factor=(T) 1.0)
template<typename T>
void LR::CVCX_occ_pblas (const std::vector< container::Tensor > &V_istate, const Parallel_Blkcyclic &pmat, const psi::Psi< T, base_device::DEVICE_CPU > &c, const Parallel_Blkcyclic &pc, const T *const X_istate, const Parallel_Blkcyclic &px, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate, const bool add_on=true, const T factor=(T) 1.0)
template<typename T>
void LR::CVCX_virt_forloop_serial (const std::vector< container::Tensor > &V_istate, const psi::Psi< T, base_device::DEVICE_CPU > &c, const T *const X_istate, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate)
 $\sum_{b\mu\nu}X^*_{bi}C^*_{\mu b}K_{\mu\nu}C_{\nu a}$
template<typename T>
void LR::CVCX_virt_blas (const std::vector< container::Tensor > &V_istate, const psi::Psi< T, base_device::DEVICE_CPU > &c, const T *const X_istate, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate, const bool add_on=true, const T factor=(T) 1.0)
template<typename T>
void LR::CVCX_virt_pblas (const std::vector< container::Tensor > &V_istate, const Parallel_Blkcyclic &pmat, const psi::Psi< T, base_device::DEVICE_CPU > &c, const Parallel_Blkcyclic &pc, const T *const X_istate, const Parallel_Blkcyclic &px, const int &naos, const int &nocc, const int &nvirt, T *const AX_istate, const bool add_on=true, const T factor=(T) 1.0)