![]() |
AlmaBTE
1.3
A solver of the space- and time-dependent Boltzmann transport equation for phonons
|
Diffuse mismatch distribution. More...
#include <sampling.hpp>
Public Member Functions | |
Diffuse_mismatch_distribution (const Gamma_grid &gridA, const Crystal_structure &poscarA, const Gamma_grid &gridB, const Crystal_structure &poscarB, const Eigen::Ref< const Eigen::Vector3d > &normal, double scalebroad, randutils::mt19937_rng &_rng, double Tref=300.0) | |
Constructor. More... | |
char | reemit (char incidence, D_particle &particle) |
Draw a final state for a particle incident from A or B. More... | |
Diffuse mismatch distribution.
alma::Diffuse_mismatch_distribution::Diffuse_mismatch_distribution | ( | const Gamma_grid & | gridA, |
const Crystal_structure & | poscarA, | ||
const Gamma_grid & | gridB, | ||
const Crystal_structure & | poscarB, | ||
const Eigen::Ref< const Eigen::Vector3d > & | normal, | ||
double | scalebroad, | ||
randutils::mt19937_rng & | _rng, | ||
double | Tref = 300.0 |
||
) |
Constructor.
[in] | gridA | - phonon spectrum of material A |
[in] | poscarA | - crystal structure of material A |
[in] | gridB | - phonon spectrum of material B |
[in] | poscarB | - crystal structure of material B |
[in] | normal | - a normal vector pointing from A to B. |
[in] | scalebroad | - factor modulating all the broadenings |
[in,out] | _rng | - a random number generator |
char alma::Diffuse_mismatch_distribution::reemit | ( | char | incidence, |
D_particle & | particle | ||
) |
Draw a final state for a particle incident from A or B.
[in] | incidence | - 'A' or 'B' |
[in,out] | particle | - information about the particle, before and after the interaction. |
[in] | account_for_velocity | if true, emission probability is proportional to abs(projected velocity). |