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

Public Member Functions

 Elastic_distribution (const Gamma_grid &grid, double scalebroad, randutils::mt19937_rng &_rng)
 Constructor. More...
 
void scatter (D_particle &particle)
 Draw a final state for a particle. More...
 
void scatter (const Eigen::Ref< const Eigen::Vector3d > &normal, const int refsign, D_particle &particle)
 Draw a final state for a particule with the constraint that one component of its group velocity has a predefined sign. More...
 

Constructor & Destructor Documentation

◆ Elastic_distribution()

alma::Elastic_distribution::Elastic_distribution ( const Gamma_grid grid,
double  scalebroad,
randutils::mt19937_rng &  _rng 
)

Constructor.

Parameters
[in]grid- phonon spectrum of the material
[in]scalebroad- factor modulating all the broadenings
[in,out]_rng- a random number generator

Member Function Documentation

◆ scatter() [1/2]

void alma::Elastic_distribution::scatter ( D_particle particle)

Draw a final state for a particle.

Parameters
[in,out]particle- information about the particle, before and after the interaction.

◆ scatter() [2/2]

void alma::Elastic_distribution::scatter ( const Eigen::Ref< const Eigen::Vector3d > &  normal,
const int  refsign,
D_particle particle 
)

Draw a final state for a particule with the constraint that one component of its group velocity has a predefined sign.

Parameters
[in]normal- direction of the projection
[in]refsign- an integer with the desired sign
[in,out]particle- information about the particle, before and after the interaction.

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