25 void init(
const int ntype_in);
33 void set_omega(
const double omega_in,
const double tpiba2_in);
45 const std::string& pp_dir,
46 std::ofstream& ofs_running,
47 std::vector<std::string>& ucell_atom_label);
double tpiba2
tpiba ^ 2
Definition sep_cell.h:87
void set_omega(const double omega_in, const double tpiba2_in)
Sets omega and tpiba2.
Definition sep_cell.cpp:30
void init(const int ntype_in)
Sets the number of atom types and initializes internal vectors.
Definition sep_cell.cpp:22
const std::vector< bool > & get_sep_enable() const
Definition sep_cell.h:65
double get_tpiba2() const
Definition sep_cell.h:75
~Sep_Cell() noexcept
Definition symm_rho_soc_test.cpp:42
Sep_Cell() noexcept
Definition symm_rho_soc_test.cpp:41
const std::vector< SepPot > & get_seps() const
Getter methods.
Definition sep_cell.h:57
void bcast_sep_cell()
Broadcasts the Sep_Cell object to all processes.
Definition sep_cell.cpp:101
std::vector< SepPot > seps
Self potentials for each atom type.
Definition sep_cell.h:81
std::vector< bool > sep_enable
Whether self potential is enabled for each atom type.
Definition sep_cell.h:83
double get_omega() const
Definition sep_cell.h:70
double omega
unit cell data for VSep
Definition sep_cell.h:86
int get_ntype() const
Definition sep_cell.h:61
int ntype
number of atom types
Definition sep_cell.h:82
int read_sep_potentials(std::ifstream &ifpos, const std::string &pp_dir, std::ofstream &ofs_running, std::vector< std::string > &ucell_atom_label)
Reads self potentials from STRU file and xx.sep files.
Definition sep_cell.cpp:47