#include <aflow.h>
Public Member Functions | |
xDOSCAR (std::ostream &oss=std::cout) | |
xDOSCAR (std::ofstream &FileMESSAGE, std::ostream &oss=std::cout) | |
xDOSCAR (const std::string &fileIN, bool=true, std::ostream &oss=std::cout) | |
xDOSCAR (const std::string &fileIN, std::ofstream &FileMESSAGE, bool=true, std::ostream &oss=std::cout) | |
bool | initialize (const std::string &fileIN, std::ostream &oss, bool=true) |
bool | initialize (const std::string &fileIN, std::ofstream &FileMESSAGE, std::ostream &oss, bool=true) |
bool | initialize (const std::string &fileIN, bool=true) |
xDOSCAR (const xDOSCAR &b) | |
~xDOSCAR () | |
const xDOSCAR & | operator= (const xDOSCAR &b) |
void | clear () |
bool | GetProperties (const std::stringstream &stringstreamIN, bool=true) |
bool | GetProperties (const std::string &stringIN, bool=true) |
bool | GetPropertiesFile (const std::string &fileIN, bool=true) |
bool | GetPropertiesUrlFile (const std::string &url, const std::string &file, bool=true) |
void | convertSpinOFF2ON () |
void | addAtomChannel () |
void | addOrbitalChannel () |
void | resetVDOS () |
bool | checkDOS (std::string &ERROR_out) const |
bool | GetBandGap (double EFERMI=AUROSTD_NAN, double efermi_tol=AUROSTD_NAN, double energy_tol=1e-3, double occ_tol=1e-4) |
std::deque< std::deque< std::deque< std::deque< double > > > > | GetVDOSSpecies (const xstructure &xstr) const |
std::deque< std::deque< std::deque< std::deque< double > > > > | GetVDOSSpecies (std::deque< int > num_each_type) const |
void | printVidos () const |
![]() | |
virtual | ~JsonSerializable ()=default |
aurostd::JSON::object | dumpToJson () const |
std::string | dumpToString () const |
void | dumpToFile (const std::filesystem::path &path, aurostd::compression_type compression=aurostd::compression_type::None) const |
Public Attributes | |
bool | m_initialized |
std::string | content |
std::vector< std::string > | vcontent |
std::string | filename |
std::string | title |
uint | spin |
double | Vol |
double | POTIM |
xvector< double > | lattice |
double | temperature |
bool | RWIGS |
double | Efermi |
double | spinF |
double | energy_max |
double | energy_min |
uint | number_energies |
uint | number_atoms |
bool | partial |
double | denergy |
std::deque< double > | venergy |
std::deque< double > | venergyEf |
std::deque< std::deque< double > > | viDOS |
std::deque< std::deque< std::deque< std::deque< double > > > > | vDOS |
bool | isLSCOUPLING |
bool | lmResolved |
std::string | carstring |
std::vector< double > | conduction_band_min |
double | conduction_band_min_net |
std::vector< double > | valence_band_max |
double | valence_band_max_net |
std::vector< double > | Egap |
double | Egap_net |
std::vector< double > | Egap_fit |
double | Egap_fit_net |
std::vector< std::string > | Egap_type |
std::string | Egap_type_net |
Protected Member Functions | |
aurostd::JSON::object | serialize () const override |
Performs the actual serialization of members. | |
xDOSCAR | deserialize (const aurostd::JSON::object &jo) override |
Performs the actual deserialization of members. | |
std::string | getJsonID () const override |
Returns the string ID of the class. | |
Private Member Functions | |
void | free () |
void | copy (const xDOSCAR &b) |
Friends | |
std::ostream & | operator<< (std::ostream &, const xDOSCAR &) |
Additional Inherited Members | |
![]() | |
static xDOSCAR | loadFromJson (const aurostd::JSON::object &jo) |
static xDOSCAR | loadFromFile (const std::filesystem::path &path) |
static xDOSCAR | loadFromString (const std::string &content) |
xDOSCAR::xDOSCAR | ( | std::ostream & | oss = std::cout | ) |
xDOSCAR::xDOSCAR | ( | std::ofstream & | FileMESSAGE, |
std::ostream & | oss = std::cout ) |
xDOSCAR::xDOSCAR | ( | const std::string & | fileIN, |
bool | = true, | ||
std::ostream & | oss = std::cout ) |
xDOSCAR::xDOSCAR | ( | const std::string & | fileIN, |
std::ofstream & | FileMESSAGE, | ||
bool | = true, | ||
std::ostream & | oss = std::cout ) |
xDOSCAR::xDOSCAR | ( | const xDOSCAR & | b | ) |
xDOSCAR::~xDOSCAR | ( | ) |
bool xDOSCAR::initialize | ( | const std::string & | fileIN, |
std::ostream & | oss, | ||
bool | = true ) |
bool xDOSCAR::initialize | ( | const std::string & | fileIN, |
std::ofstream & | FileMESSAGE, | ||
std::ostream & | oss, | ||
bool | = true ) |
bool xDOSCAR::initialize | ( | const std::string & | fileIN, |
bool | = true ) |
void xDOSCAR::clear | ( | ) |
bool xDOSCAR::GetProperties | ( | const std::stringstream & | stringstreamIN, |
bool | = true ) |
bool xDOSCAR::GetProperties | ( | const std::string & | stringIN, |
bool | = true ) |
bool xDOSCAR::GetPropertiesFile | ( | const std::string & | fileIN, |
bool | = true ) |
bool xDOSCAR::GetPropertiesUrlFile | ( | const std::string & | url, |
const std::string & | file, | ||
bool | = true ) |
void xDOSCAR::convertSpinOFF2ON | ( | ) |
void xDOSCAR::addAtomChannel | ( | ) |
void xDOSCAR::addOrbitalChannel | ( | ) |
void xDOSCAR::resetVDOS | ( | ) |
bool xDOSCAR::checkDOS | ( | std::string & | ERROR_out | ) | const |
bool xDOSCAR::GetBandGap | ( | double | EFERMI = AUROSTD_NAN, |
double | efermi_tol = AUROSTD_NAN, | ||
double | energy_tol = 1e-3, | ||
double | occ_tol = 1e-4 ) |
|
nodiscard |
|
nodiscard |
|
nodiscardoverrideprotectedvirtual |
Performs the actual serialization of members.
Implements JsonSerializable< xDOSCAR >.
|
overrideprotectedvirtual |
Performs the actual deserialization of members.
Implements JsonSerializable< xDOSCAR >.
|
inlinenodiscardoverrideprotectedvirtual |
Returns the string ID of the class.
Implements JsonSerializable< xDOSCAR >.
|
private |
|
private |
|
friend |
std::deque<std::deque<std::deque<std::deque<double> > > > xDOSCAR::vDOS |