ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Sep_Cell Class Reference

#include <sep_cell.h>

Collaboration diagram for Sep_Cell:

Public Member Functions

 Sep_Cell () noexcept
 
 ~Sep_Cell () noexcept
 
void init (const int ntype_in)
 
void set_omega (const double omega_in, const double tpiba2_in)
 
int read_sep_potentials (std::ifstream &ifpos, const std::string &pp_dir, std::ofstream &ofs_running, std::vector< std::string > &ucell_atom_label)
 
void bcast_sep_cell ()
 
const std::vector< SepPot > & get_seps () const
 
int get_ntype () const
 
const std::vector< bool > & get_sep_enable () const
 
double get_omega () const
 
double get_tpiba2 () const
 

Private Attributes

std::vector< SepPotseps
 
int ntype
 
std::vector< bool > sep_enable
 
double omega
 
double tpiba2
 

Constructor & Destructor Documentation

◆ Sep_Cell()

Sep_Cell::Sep_Cell ( )
noexcept

◆ ~Sep_Cell()

Sep_Cell::~Sep_Cell ( )
defaultnoexcept

Member Function Documentation

◆ bcast_sep_cell()

void Sep_Cell::bcast_sep_cell ( )
Here is the call graph for this function:

◆ get_ntype()

int Sep_Cell::get_ntype ( ) const
inline
Here is the caller graph for this function:

◆ get_omega()

double Sep_Cell::get_omega ( ) const
inline
Here is the caller graph for this function:

◆ get_sep_enable()

const std::vector< bool > & Sep_Cell::get_sep_enable ( ) const
inline
Here is the caller graph for this function:

◆ get_seps()

const std::vector< SepPot > & Sep_Cell::get_seps ( ) const
inline
Here is the caller graph for this function:

◆ get_tpiba2()

double Sep_Cell::get_tpiba2 ( ) const
inline
Here is the caller graph for this function:

◆ init()

void Sep_Cell::init ( const int  ntype_in)

◆ read_sep_potentials()

int Sep_Cell::read_sep_potentials ( std::ifstream &  ifpos,
const std::string &  pp_dir,
std::ofstream &  ofs_running,
std::vector< std::string > &  ucell_atom_label 
)

read sep potential files

need to add following lines in STRU file, and order of elements must match ATOMIC_SPECIES. SEP_FILES symbol is_enable r_in r_out r_power enhence_a

example Li 0 F 1 F_pbe_50.sep 0.0 2.0 20.0 1.0

Here is the call graph for this function:

◆ set_omega()

void Sep_Cell::set_omega ( const double  omega_in,
const double  tpiba2_in 
)

Member Data Documentation

◆ ntype

int Sep_Cell::ntype
private

◆ omega

double Sep_Cell::omega
private

◆ sep_enable

std::vector<bool> Sep_Cell::sep_enable
private

◆ seps

std::vector<SepPot> Sep_Cell::seps
private

◆ tpiba2

double Sep_Cell::tpiba2
private

The documentation for this class was generated from the following files: