ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
boundary_fix.h File Reference

Correct the discontinuity that occurs when crossing periodic boundary conditions. More...

#include "source_cell/unitcell.h"
#include "source_base/module_container/ATen/core/tensor.h"
#include "source_psi/psi.h"
#include <cstddef>
#include <complex>
#include <vector>
Include dependency graph for boundary_fix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  module_rt

Functions

void module_rt::reset_matrix_boundary (const UnitCell &ucell, const std::vector< ModuleBase::Vector3< double > > &kvec_d, const ModuleBase::Vector3< double > &cart_At_last, const BasisFlattenedIndexing &basis, const Parallel_Blkcyclic &layout, ct::Tensor &hk_last, ct::Tensor &sk_last, psi::Psi< std::complex< double > > *psi_last)
 Add phases to the matrix and coefficient from the previous step to correct the boundary discontinuity.

Detailed Description

Correct the discontinuity that occurs when crossing periodic boundary conditions.