Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit bbba5147 authored by Christof Metzger-Kraus's avatar Christof Metzger-Kraus
Browse files

print out estimated phase for max energy in degrees as well

parent d7eb5885
No related branches found
No related tags found
No related merge requests found
......@@ -529,7 +529,8 @@ double TravelingWave::getAutoPhaseEstimate(const double &E0, const double &t0, c
}
const int prevPrecision = Ippl::Info->precision(8);
INFOMSG(level2 << "estimated phase= " << tmp_phi << " rad, "
INFOMSG(level2 << "estimated phase= " << tmp_phi << " rad = "
<< tmp_phi * Physics::rad2deg << " deg,\n"
<< "Ekin= " << E[N3 - 1] << " MeV" << std::setprecision(prevPrecision) << endl);
return tmp_phi;
}
......@@ -568,7 +569,8 @@ double TravelingWave::getAutoPhaseEstimate(const double &E0, const double &t0, c
const int prevPrecision = Ippl::Info->precision(8);
INFOMSG(level2 << "estimated phase= " << tmp_phi << " rad, "
INFOMSG(level2 << "estimated phase= " << tmp_phi << " rad = "
<< tmp_phi * Physics::rad2deg << " deg,\n"
<< "Ekin= " << E[N3 - 1] << " MeV" << std::setprecision(prevPrecision) << endl);
return phi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment