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

Grid_Driver class for neighbor search interface. More...

#include "source_base/global_function.h"
#include "source_base/vector3.h"
#include "source_cell/unitcell.h"
#include "sltk_grid.h"
#include <memory>
#include <stdexcept>
#include <tuple>
Include dependency graph for sltk_grid_driver.h:

Go to the source code of this file.

Classes

class  AdjacentAtomInfo
 Struct of array for packing the Adjacent atom information. More...
class  Grid_Driver
 Grid_Driver class for neighbor search interface. More...

Functions

void filter_adjs (const std::vector< bool > &is_adj, AdjacentAtomInfo &adjs)
 Filter adjacent atoms based on boolean mask.

Detailed Description

Grid_Driver class for neighbor search interface.

Function Documentation

◆ filter_adjs()

void filter_adjs ( const std::vector< bool > & is_adj,
AdjacentAtomInfo & adjs )

Filter adjacent atoms based on boolean mask.

Parameters
is_adjboolean mask indicating which atoms are adjacent
adjsadjacent atom information to filter
Here is the caller graph for this function: