39 for (std::size_t iq = 0; iq < nqpoints; ++iq) {
42 for (std::size_t im = 0; im < nmodes; ++im)
45 nruter *= alma::constants::kB / nqpoints / poscar.
V;
61 const Eigen::Ref<const Eigen::ArrayXXd>& w,
91 const Eigen::Ref<const Eigen::ArrayXXd>& w,
93 const Eigen::Ref<const Eigen::Vector3d>& direction);
const double V
Volume of the unit cell.
Definition: structures.hpp:60
Definition: analytic1d.hpp:26
Eigen::MatrixXd calc_kappa_sg(const alma::Crystal_structure &poscar, const alma::Gamma_grid &grid, double T)
Obtain the small-grain thermal conductivity tensor.
Definition: bulk_properties.cpp:59
Eigen::ArrayXd omega
Angular frequencies, in rad / ps.
Definition: dynamical_matrix.hpp:88
double calc_kappa_1d(const alma::Crystal_structure &poscar, const alma::Gamma_grid &grid, const Eigen::Ref< const Eigen::ArrayXXd > &w, double T, const Eigen::Ref< const Eigen::Vector3d > &direction)
Obtain the thermal conductivity along a particular direction in the relaxation time approximation...
Definition: bulk_properties.cpp:95
Classes and functions used to manipulate grids in reciprocal space.
double calc_cv(const alma::Crystal_structure &poscar, const alma::Gamma_grid &grid, double T)
Compute the specific heat at constant volume.
Definition: bulk_properties.hpp:32
const Spectrum_at_point & get_spectrum_at_q(int iq) const
Access the harmonic properties at a point in the grid.
Definition: qpoint_grid.hpp:120
Definitions of the basic data-handling classes in ALMA.
Objects of this class represent a regular grid with the Gamma point in one corner.
Definition: qpoint_grid.hpp:32
Hold information about a crystal structure.
Definition: structures.hpp:51
Physical, mathematical and miscellaneous constants used in alma.
const std::size_t nqpoints
Total number of q points in the grid.
Definition: qpoint_grid.hpp:41
double bose_einstein_kernel(double omega, double T)
Integration kernel for the specific heat, thermal conductivity and other integrals.
Definition: utilities.hpp:326