ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ovlp_block.h
Go to the documentation of this file.
1#ifndef ABACUS_LCAO_OVLP_BLOCK_H
2#define ABACUS_LCAO_OVLP_BLOCK_H
3
4#include <vector>
5
6namespace ModuleBase
7{
8template <typename T>
9class Vector3;
10}
11class UnitCell;
13namespace hamilt
14{
15// Add one ordered atom-pair overlap block in local row-major AO layout.
16// displacement is ket-center minus bra-center in Bohr, including any lattice image
17// or cross-geometry shift. No neighbor search, coordinate reconstruction or symmetrization.
18// For npol=2, add the same spatial integral to the two spin-diagonal entries.
19template <typename TR>
20void cal_overlap_block(const UnitCell& cell, const TwoCenterIntegrator& integrator,
21 int atom_i, int atom_j,
22 const std::vector<int>& row_offsets, const std::vector<int>& col_offsets,
23 const ModuleBase::Vector3<double>& displacement, TR* values);
24}
25#endif
3 elements vector
Definition vector3.h:21
A class to compute two-center integrals.
Definition two_center_integrator.h:35
Provide the basic information about unitcell.
Definition unitcell.h:16
Definition clebsch_gordan_coeff.cpp:8
Definition wf_op.cpp:6
void cal_overlap_block(const UnitCell &cell, const TwoCenterIntegrator &integrator, const int atom_i, const int atom_j, const std::vector< int > &row_offsets, const std::vector< int > &col_offsets, const ModuleBase::Vector3< double > &displacement, TR *values)
Definition ovlp_block.cpp:9