AlmaBTE  1.3
A solver of the space- and time-dependent Boltzmann transport equation for phonons
alma::Diffuse_mismatch_distribution Class Reference

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...
 

Detailed Description

Diffuse mismatch distribution.

Constructor & Destructor Documentation

◆ 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.

Parameters
[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

Member Function Documentation

◆ reemit()

char alma::Diffuse_mismatch_distribution::reemit ( char  incidence,
D_particle particle 
)

Draw a final state for a particle incident from A or B.

Parameters
[in]incidence- 'A' or 'B'
[in,out]particle- information about the particle, before and after the interaction.
[in]account_for_velocityif true, emission probability is proportional to abs(projected velocity).
Returns
'A' or 'B', depending on the direction of emission

The documentation for this class was generated from the following files: