Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logic on calc temp at false vac fraction #159

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.23)
project(
BSMPT
VERSION 3.0.5
VERSION 3.0.8
LANGUAGES C CXX
DESCRIPTION
"BSMPT - Beyond the Standard Model Phase Transitions : A C++ package for the computation of the EWPT in BSM models"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2021 Philipp Basler, Margarete Mühlleitner and Jonas M
SPDX-License-Identifier: GPL-3.0-or-later
-->

Program: BSMPT version 3.0.5
Program: BSMPT version 3.0.8

Released by: Philipp Basler, Lisa Biermann, Margarete Mühlleitner, Jonas Müller, Rui Santos and João Viana

Expand Down
4 changes: 2 additions & 2 deletions include/BSMPT/utility/const_velocity_spline.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ class cvspline
* @param l
* @return std::vector<double>
*/
std::vector<double> operator()(double l);
std::vector<double> operator()(double l) const;
/**
* @brief print the current knots of the spline
*
*/
void print_path();
void print_path() const;
/**
* @brief save the knots of the splien into a file
*
Expand Down
2 changes: 1 addition & 1 deletion src/bounce_solution/bounce_solution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ double BounceSolution::CalcTempAtFalseVacFraction(const double &false_vac_frac)

while ((std::abs(T_up / T_down - 1) >
RelativeTemperatureInCalcTempAtFalseVacFraction *
MarginOfCalcTempAtFalseVacFractionBeforeFailure) or
MarginOfCalcTempAtFalseVacFractionBeforeFailure) and
(not almost_the_same(
int_at_false_vac_frac,
IatT,
Expand Down
4 changes: 2 additions & 2 deletions src/utility/const_velocity_spline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ std::vector<double> cvspline::d2l(double l)

return rr;
}
std::vector<double> cvspline::operator()(double l)
std::vector<double> cvspline::operator()(double l) const
{
// Calculates the VEV at the position l in spline length,
l = l_to_x(l); // Convert from spline length to linear length.
Expand All @@ -278,7 +278,7 @@ std::vector<double> cvspline::operator()(double l)
return r;
}

void cvspline::print_path()
void cvspline::print_path() const
{
int wid = 15;

Expand Down
4 changes: 2 additions & 2 deletions standalone/TunnelingPath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ int main()
bounce.CalculatePercolationTemp();
if (bounce.GetPercolationTemp() == -1) continue;
double errorTtoTp = 1e100;
BounceActionInt *ClosestBounceActionInt;
BounceActionInt const *ClosestBounceActionInt;
std::cout << "Found a transitions with Tp =\t"
<< bounce.GetPercolationTemp() << " GeV.\n";
for (auto BAInt : bounce.SolutionList)
for (const auto &BAInt : bounce.SolutionList)
{
if (abs(BAInt.T - bounce.GetPercolationTemp()) < errorTtoTp)
{
Expand Down