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

Objects of this class perform rational integrals of the kind found when approximating bands by piecewise cubic polynomials to obtain Green's functions in 1D. More...

#include <aux_cubic.hpp>

Public Member Functions

 Cubic_segment (double a, double b, double ap, double bp)
 Constructor. More...
 
std::array< double, 4 > calc_integrals (double ener) const
 Obtain the values of the four integrals needed for the calculation of the Green's function at a particular energy. More...
 

Detailed Description

Objects of this class perform rational integrals of the kind found when approximating bands by piecewise cubic polynomials to obtain Green's functions in 1D.

Constructor & Destructor Documentation

◆ Cubic_segment()

alma::aux_cubic::Cubic_segment::Cubic_segment ( double  a,
double  b,
double  ap,
double  bp 
)
inline

Constructor.

Parameters
[in]a- value of the energy at the left
[in]b- value of the energy at the right
[in]ap- derivative of the energy at the left
[in]bp- derivative of the energy at the right

Member Function Documentation

◆ calc_integrals()

std::array<double, 4> alma::aux_cubic::Cubic_segment::calc_integrals ( double  ener) const
inline

Obtain the values of the four integrals needed for the calculation of the Green's function at a particular energy.

Parameters
[in]energ- value of the energy
Returns
a vector with the four integrals in this order: ReG, ReGx, ImG, ImGx

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