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

Implementation of the ModuleCell::ReciprocalGrid base class. More...

Include dependency graph for reciprocal_grid.cpp:

Namespaces

namespace  ModuleCell

Functions

bool ModuleCell::kpoints_equivalent (const ModuleBase::Vector3< double > &first, const ModuleBase::Vector3< double > &second, double epsilon)
 Compare reciprocal fractional coordinates modulo integer reciprocal vectors.
void ModuleCell::restrict_kpt (ModuleBase::Vector3< double > &kvec, double epsilon)
 Fold a point into (-0.5, 0.5] in direct coordinates.

Detailed Description

Implementation of the ModuleCell::ReciprocalGrid base class.

Note
Spin-free logic migrated from K_Vectors (klist.cpp) on 2026-08-14; the intermediate KVectorUtils shim was removed on 2026-09-02.