#include <sltk_grid_driver.h>
|
| Grid_Driver () |
|
| Grid_Driver (const int &test_d_in, const int &test_grid_in) |
|
| ~Grid_Driver () |
|
Grid_Driver & | operator= (Grid_Driver &&)=default |
|
void | Find_atom (const UnitCell &ucell, const int ntype, const int nnumber, AdjacentAtomInfo *adjs=nullptr) const |
|
void | Find_atom (const UnitCell &ucell, const ModuleBase::Vector3< double > &cartesian_posi, const int &ntype, const int &nnumber, AdjacentAtomInfo *adjs=nullptr) const |
|
const int & | getAdjacentNum () const |
|
const int & | getType (const int i) const |
|
const int & | getNatom (const int i) const |
|
const ModuleBase::Vector3< double > & | getAdjacentTau (const int i) const |
|
const ModuleBase::Vector3< int > & | getBox (const int i) const |
|
| Grid () |
|
| Grid (const int &test_grid_in) |
|
virtual | ~Grid () |
|
Grid & | operator= (Grid &&)=default |
|
void | init (std::ofstream &ofs, const UnitCell &ucell, const double radius_in, const bool boundary=true) |
|
void | getBox (int &bx, int &by, int &bz, const double &x, const double &y, const double &z) |
|
void | clear_atoms () |
|
void | clear_adj_info () |
|
int | getGlayerX () const |
|
int | getGlayerY () const |
|
int | getGlayerZ () const |
|
int | getGlayerX_minus () const |
|
int | getGlayerY_minus () const |
|
int | getGlayerZ_minus () const |
|
void | initGrid (const int fftdim, const int ndata, const std::string *cell, const double *a, const torch::Device device, double *volume) |
|
◆ Grid_Driver() [1/2]
Grid_Driver::Grid_Driver |
( |
| ) |
|
|
inline |
◆ Grid_Driver() [2/2]
Grid_Driver::Grid_Driver |
( |
const int & |
test_d_in, |
|
|
const int & |
test_grid_in |
|
) |
| |
◆ ~Grid_Driver()
Grid_Driver::~Grid_Driver |
( |
| ) |
|
◆ Find_atom() [1/2]
void Grid_Driver::Find_atom |
( |
const UnitCell & |
ucell, |
|
|
const int |
ntype, |
|
|
const int |
nnumber, |
|
|
AdjacentAtomInfo * |
adjs = nullptr |
|
) |
| const |
◆ Find_atom() [2/2]
◆ getAdjacentNum()
const int & Grid_Driver::getAdjacentNum |
( |
| ) |
const |
|
inline |
◆ getAdjacentTau()
◆ getBox()
◆ getNatom()
const int & Grid_Driver::getNatom |
( |
const int |
i | ) |
const |
|
inline |
◆ getType()
const int & Grid_Driver::getType |
( |
const int |
i | ) |
const |
|
inline |
◆ operator=()
◆ adj_info
◆ test_deconstructor
bool Grid_Driver::test_deconstructor |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_neighbor/sltk_grid_driver.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_neighbor/sltk_grid_driver.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/module_dm/test/test_dm_io.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_estate/module_dm/test/tmp_mocks.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_lcao/module_operator_lcao/test/tmp_mocks.cpp