ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
read_stru.h
Go to the documentation of this file.
1
5#ifndef READ_STRU_H
6#define READ_STRU_H
7
8#include "atom_spec.h"
10
11namespace unitcell
12{
21 bool check_tau(const Atom* atoms,
22 const int& ntype,
23 const double& lat0);
24
33 void check_dtau(Atom* atoms,
34 const int& ntype,
35 const double& lat0,
36 ModuleBase::Matrix3& latvec);
37
52 bool read_atom_species(std::ifstream& ifa,
53 std::ofstream& ofs_running,
54 UnitCell& ucell,
55 const std::string& basis_type,
56 const std::string& orbital_dir,
57 const std::string& init_wfc,
58 const double onsite_radius,
59 const bool deepks_setorb,
60 const bool rpa);
61
70 bool read_lattice_constant(std::ifstream& ifa,
71 std::ofstream& ofs_running,
72 Lattice& lat);
73
94 bool read_atom_positions(UnitCell& ucell,
95 std::ifstream &ifpos,
96 std::ofstream &ofs_running,
97 std::ofstream &ofs_warning,
98 const int nspin,
99 const std::string& basis_type,
100 const std::string& orbital_dir,
101 const std::string& init_wfc,
102 const double onsite_radius,
103 const bool fixed_atoms,
104 const bool noncolin,
105 const std::string& calculation,
106 const std::string& esolver_type,
107 const int symmetry);
108}
109
110#endif // READ_STRU_H
Atom class for storing atom information.
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
bool read_atom_species(std::ifstream &ifa, std::ofstream &ofs_running, UnitCell &ucell, const std::string &basis_type, const std::string &orbital_dir, const std::string &init_wfc, const double onsite_radius, const bool deepks_setorb, const bool rpa)
Read atom species information.
Definition read_atom_species.cpp:33
void check_dtau(Atom *atoms, const int &ntype, const double &lat0, ModuleBase::Matrix3 &latvec)
Check atom displacements (dtau).
Definition read_stru.cpp:61
bool read_atom_positions(UnitCell &ucell, std::ifstream &ifpos, std::ofstream &ofs_running, std::ofstream &ofs_warning, const int nspin, const std::string &basis_type, const std::string &orbital_dir, const std::string &init_wfc, const double onsite_radius, const bool fixed_atoms, const bool noncolin, const std::string &calculation, const std::string &esolver_type, const int symmetry)
Read atomic positions.
Definition read_atoms.cpp:16
bool read_lattice_constant(std::ifstream &ifa, std::ofstream &ofs_running, Lattice &lat)
Read lattice constant.
Definition read_atom_species.cpp:160
bool check_tau(const Atom *atoms, const int &ntype, const double &lat0)
Check atom positions (tau).
Definition read_stru.cpp:10