Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
vollous committed Apr 25, 2024
1 parent 22564ec commit e2e0702
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
7 changes: 0 additions & 7 deletions include/BSMPT/bounce_solution/bounce_solution.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,6 @@ class BounceSolution
*/
double GetPTStrength() const;

/**
* @brief CalcGstar Calculate the number of effective degrees of freedom as a
* function of temperature, higgs masses are evaluated at global minimum
* @param Temp temperature
*/
void CalcGstar(const double &Temp);

/**
* @brief CalcGstarPureRad Calculate the number of effective degrees of
* freedom assuming a purely radiative universe
Expand Down
29 changes: 0 additions & 29 deletions src/bounce_solution/bounce_solution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,35 +577,6 @@ double BounceSolution::HubbleRate(const double &Temp)
modelPointer->SMConstants.MPl; // radiation dominated universe
}

void BounceSolution::CalcGstar(const double &Temp)
{
std::size_t NHiggs = this->modelPointer->get_NHiggs();

const std::vector<double> HiggsMassesSquared =
this->modelPointer->HiggsMassesSquared(
this->modelPointer->MinimizeOrderVEV(
this->modelPointer->get_vevTreeMin()),
Temp); // todo: calculate HiggsMassesSquared not in global, but in
// minimum in which we are still in (e.g. local one until
// T < Tperc)

std::size_t HiggsAboveThreshold = 0;

for (double mass : HiggsMassesSquared)
{
if (mass > Temp)
{
HiggsAboveThreshold++;
}
}

double gb = 8 * 2 + 3 * 3 + 2 + NHiggs - HiggsAboveThreshold;
double gf = 6 * 3 * 2 * 2 + 3 * 2 * 2 + 3 * 2;
double geff = gb + 7. / 8 * gf;

this->SetGstar(geff);
}

void BounceSolution::CalcGstarPureRad()
{
std::size_t NHiggs = this->modelPointer->get_NHiggs();
Expand Down

0 comments on commit e2e0702

Please sign in to comment.