ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
setup_nonlocal.h
Go to the documentation of this file.
1#ifndef INFONONLOCAL_H
2#define INFONONLOCAL_H
3
4#include "atom_spec.h"
5#include "../source_basis/module_ao/ORB_nonlocal.h"
6#include "../source_basis/module_ao/ORB_read.h"
8{
9 public:
16 int * nproj = nullptr; //mohan add 2010-12-19
17 int nprojmax; // mohan add 2010-03-07
18 double rcutmax_Beta; //caoyu add 2021-05-24
19 const double& get_rcutmax_Beta(void) const { return rcutmax_Beta; }
22 const int &it,
23 Atom* atom,
24 int &n_projectors,
25 const int& kmesh,
26 const double& dk,
27 const double& dr_uniform,
28 std::ofstream &log);
31 const int &it,
32 Atom* atom,
33 int &n_projectors,
34 const int &my_rank,
35 const int& kmesh,
36 const double& dk,
37 const double& dr_uniform,
38 const std::string& nonlocalFile);
39 //workflow to setup nonlocal part for LCAO
41 const int& ntype,
42 Atom* atoms,
43 std::ofstream &log,
44 LCAO_Orbitals &orb
45 );
46};
47
48#endif
Definition atom_spec.h:6
Definition setup_nonlocal.h:8
const double & get_rcutmax_Beta(void) const
Definition setup_nonlocal.h:19
int * nproj
nonlocal projectors (1-dimension array)
Definition setup_nonlocal.h:16
void setupNonlocal(const int &ntype, Atom *atoms, std::ofstream &log, LCAO_Orbitals &orb)
InfoNonlocal()
Definition klist_test.cpp:44
int nprojmax
Definition setup_nonlocal.h:17
Numerical_Nonlocal * Beta
Definition setup_nonlocal.h:15
void Read_NonLocal(const int &it, Atom *atom, int &n_projectors, const int &my_rank, const int &kmesh, const double &dk, const double &dr_uniform, const std::string &nonlocalFile)
read in the NONLOCAL projector from file.
double rcutmax_Beta
Definition setup_nonlocal.h:18
~InfoNonlocal()
Definition klist_test.cpp:47
void Set_NonLocal(const int &it, Atom *atom, int &n_projectors, const int &kmesh, const double &dk, const double &dr_uniform, std::ofstream &log)
in order to get rid of the .NONLOCAL file.
Definition ORB_read.h:18
Definition ORB_nonlocal.h:21