![]() |
AlmaBTE
1.3
A solver of the space- and time-dependent Boltzmann transport equation for phonons
|
Routines to load files coming from the VASP + Phonopy ecosystem. More...
Go to the source code of this file.
Functions | |
std::unique_ptr< Crystal_structure > | alma::load_POSCAR (const char *filename) |
Build a Crystal_structure object from a VASP POSCAR file. More... | |
std::unique_ptr< Harmonic_ifcs > | alma::load_FORCE_CONSTANTS (const char *filename, const Crystal_structure &cell, const int na, const int nb, const int nc) |
Create a Harmonic_ifcs object from the information stored in a Phonopy FORCE_CONSTANTS file. More... | |
Eigen::ArrayXXd | alma::load_FORCE_CONSTANTS_raw (const char *filename) |
Load the data in a FORCE_CONSTANTS file and return it as a raw matrix. More... | |
std::unique_ptr< Dielectric_parameters > | alma::load_BORN (const char *filename) |
Create a Dielectric_parameters object from a Phonopy BORN file. More... | |
std::unique_ptr< std::vector< Thirdorder_ifcs > > | alma::load_FORCE_CONSTANTS_3RD (const char *filename, const Crystal_structure &cell) |
Create a std::vector of Thirdorder_ifcs objects from a FORCE_CONSTANTS_3RD file. More... | |
Routines to load files coming from the VASP + Phonopy ecosystem.
std::unique_ptr< Dielectric_parameters > alma::load_BORN | ( | const char * | filename | ) |
Create a Dielectric_parameters object from a Phonopy BORN file.
Note that the first line is ignored and VASP's default units are assumed.
[in] | filename | - path to the BORN file |
std::unique_ptr< Harmonic_ifcs > alma::load_FORCE_CONSTANTS | ( | const char * | filename, |
const Crystal_structure & | cell, | ||
const int | na, | ||
const int | nb, | ||
const int | nc | ||
) |
Create a Harmonic_ifcs object from the information stored in a Phonopy FORCE_CONSTANTS file.
[in] | filename | - path to the FORCE_CONSTANTS file |
[in] | cell | - description of the unit cell |
[in] | na | - number of unit cells along the first axis |
[in] | nb | - number of unit cells along the second axis |
[in] | nc | - number of unit cells along the third axis |
std::unique_ptr< std::vector< Thirdorder_ifcs > > alma::load_FORCE_CONSTANTS_3RD | ( | const char * | filename, |
const Crystal_structure & | cell | ||
) |
Create a std::vector of Thirdorder_ifcs objects from a FORCE_CONSTANTS_3RD file.
The format of the file is described in the ShengBTE documentation.
[in] | filename | - path to the BORN file |
[in] | cell | - description of the unit cell |
Eigen::ArrayXXd alma::load_FORCE_CONSTANTS_raw | ( | const char * | filename | ) |
Load the data in a FORCE_CONSTANTS file and return it as a raw matrix.
[in] | filename | - path to the FORCE_CONSTANTS file |
std::unique_ptr< Crystal_structure > alma::load_POSCAR | ( | const char * | filename | ) |
Build a Crystal_structure object from a VASP POSCAR file.
[in] | filename | - path to the POSCAR file |