|
BSMPT 3.1.14
BSMPT - Beyond the Standard Model Phase Transitions : A C++ package for the computation of the EWPT in BSM models
|
#include <BSMPT/Kfactors/Kfactors.h>#include <BSMPT/utility/Logger.h>#include <cmath>#include <iostream>#include <sstream>#include <gsl/gsl_integration.h>Namespaces | |
| namespace | BSMPT |
| This classes calculates the Bounce action of the potential with a set temperature. | |
Functions | |
| double | BSMPT::Kfactors::distribution_f0 (double E0, int s, double Temp, int diff=0) |
| double | BSMPT::Kfactors::K_integrand (const std::vector< double > &p, double masssquared, int switchvalue, int s, double Temp) |
| double | BSMPT::Kfactors::K_integrand_gsl (double *x, std::size_t dim, void *params) |
| double | BSMPT::Kfactors::K_integration (double masssquared, double Temp, int switchvalue, int s) |
| double | BSMPT::Kfactors::K_functions (double masssquared, double Temp, int switchvalue, int s) |
| void | BSMPT::Kfactors::display_results (std::string title, double result, double error) |
| double | BSMPT::Kfactors::Ktilde_normalization_func (double x, void *params) |
| double | BSMPT::Kfactors::Ktilde_normalization (double Temp, int s, double masssquared) |
| void BSMPT::Kfactors::display_results | ( | std::string | title, |
| double | result, | ||
| double | error | ||
| ) |
Helper function which displays the numbers in a more readable way
| double BSMPT::Kfactors::distribution_f0 | ( | double | E0, |
| int | s, | ||
| double | Temp, | ||
| int | diff = 0 |
||
| ) |
Calculates the distribution f0, defined in Eq(13) in 0604159
| E0 | Energy at which the distribution is calculated |
| s | s=1 for fermions and s=-1 for bosons |
| Temp | Temperature at which the distribution should be evaluated |
| diff | number of derivatives w.r.t. E0, diff = 0 no derivative and diff = 1 or 2 accordingly |
| double BSMPT::Kfactors::K_functions | ( | double | masssquared, |
| double | Temp, | ||
| int | switchvalue, | ||
| int | s | ||
| ) |
Calculates the normalized K function
| masssquared | the m^2 value at which K should be evaluated |
| Temp | the temperature at which K should be evaluated |
| switchvalue | The index which K to choose |
| s | s=-1 yields the function for a bosonic distribution, s=+1 for a fermionic one |
| double BSMPT::Kfactors::K_integrand | ( | const std::vector< double > & | p, |
| double | masssquared, | ||
| int | switchvalue, | ||
| int | s, | ||
| double | Temp | ||
| ) |
Evaluates the integrand in the K functions
| p | momentum at which to evaluate the K function |
| masssquared | the m^2 value at which K should be evaluated |
| Temp | the temperature at which K should be evaluated |
| switchvalue | The index which K to choose |
| s | s=-1 yields the function for a bosonic distribution, s=+1 for a fermionic one |
| double BSMPT::Kfactors::K_integrand_gsl | ( | double * | x, |
| std::size_t | dim, | ||
| void * | params | ||
| ) |
Interface to communicate the value of K_integrand() to the GSL integration routine
| double BSMPT::Kfactors::K_integration | ( | double | masssquared, |
| double | Temp, | ||
| int | switchvalue, | ||
| int | s | ||
| ) |
Calculates the values of the K functions given in Eq (23) in 0604159 without the normalization
| masssquared | the m^2 value at which K should be evaluated |
| Temp | the temperature at which K should be evaluated |
| switchvalue | The index which K to choose |
| s | s=-1 yields the function for a bosonic distribution, s=+1 for a fermionic one |
| double BSMPT::Kfactors::Ktilde_normalization | ( | double | Temp, |
| int | s, | ||
| double | masssquared | ||
| ) |
Calculates the normalization for the non tilde K functions
| Temp | Temperature |
| s | +1 for fermions and -1 for bosons |
| masssquared | m^2 value |
| double BSMPT::Kfactors::Ktilde_normalization_func | ( | double | x, |
| void * | params | ||
| ) |
Integrand to calculate the normalization for the Ktilde functions. Used in Ktilde_normalization()
| x | vector which containts the momentum |
| params | GSL_integration struct |