1 #ifndef PH_SCATTERING_MATRIX_H
2 #define PH_SCATTERING_MATRIX_H
4 #include "interaction_3ph.h"
6 #include "base_ph_scattering_matrix.h"
7 #include "vector_bte.h"
45 void builder(std::shared_ptr<VectorBTE> linewidth,
46 std::vector<VectorBTE> &inPopulations,
47 std::vector<VectorBTE> &outPopulations)
override;
54 std::vector<VectorBTE> &inPopulations,
55 std::vector<VectorBTE> &outPopulations,
56 std::vector<std::tuple<std::vector<int>,
int>> qPairIterator,
57 Eigen::MatrixXd &innerBose, Eigen::MatrixXd &outerBose,
62 std::shared_ptr<VectorBTE> linewidth);
65 std::vector<VectorBTE> &inPopulations,
66 std::vector<VectorBTE> &outPopulations,
67 std::vector<std::tuple<std::vector<int>,
int>> qPairIterator,
68 Eigen::MatrixXd &innerBose, Eigen::MatrixXd &outerBose,
71 std::shared_ptr<VectorBTE> linewidth);
74 std::vector<VectorBTE> &inPopulations,
75 std::vector<VectorBTE> &outPopulations,
80 std::shared_ptr<VectorBTE> linewidth);
Base class for describing objects containing the band structure, i.e.
Definition: bandstructure.h:15
class representing the phonon scattering matrix.
Definition: base_ph_scattering_matrix.h:16
Class containing the user input variables.
Definition: context.h:15
Class to calculate the probability rate for one 3-phonon scattering event.
Definition: interaction_3ph.h:47
Class to handle the coupling between electron and phonons.
Definition: interaction_elph.h:30
class representing the phonon scattering matrix.
Definition: ph_scattering_matrix.h:14
PhScatteringMatrix(Context &context_, StatisticsSweep &statisticsSweep_, BaseBandStructure &innerBandStructure_, BaseBandStructure &outerBandStructure_, PhononH0 *phononH0_=nullptr)
Default constructor.
Definition: ph_scattering_matrix.cpp:14
friend void addPhPhScattering(BasePhScatteringMatrix &matrix, Context &context, std::vector< VectorBTE > &inPopulations, std::vector< VectorBTE > &outPopulations, std::vector< std::tuple< std::vector< int >, int >> qPairIterator, Eigen::MatrixXd &innerBose, Eigen::MatrixXd &outerBose, BaseBandStructure &innerBandStructure, BaseBandStructure &outerBandStructure, PhononH0 &phononH0, Interaction3Ph &coupling3Ph, std::shared_ptr< VectorBTE > linewidth)
Definition: ph_scattering.cpp:19
void builder(std::shared_ptr< VectorBTE > linewidth, std::vector< VectorBTE > &inPopulations, std::vector< VectorBTE > &outPopulations) override
Method that actually computes the scattering matrix.
Definition: ph_scattering_matrix.cpp:28
class that computes phonon energies, velocities and eigenvectors.
Definition: phonon_h0.h:21
Object for controlling the loop over temperatures and chemical potentials.
Definition: statistics_sweep.h:26