Skip to content

Commit

Permalink
take sqrt
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Oct 23, 2023
1 parent ab64254 commit ff4182b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Particles/PulsarParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ Pulsar::ReadParameters () {
m_BLC = m_B_star/(S*S*S); // Bfield at LC
m_re_scaled = m_beta_rec_RR * (3./2.) * PhysConst::q_e
/ ( 4 * MathConst::pi * PhysConst::ep0 * m_gammarad_RR * m_gammarad_RR * PhysConst::c * m_BLC);
m_re_scaled = std::sqrt( m_re_scaled);
amrex::Print() << " re_scaled at gammarad : " << m_gammarad_RR << " is : " << m_re_scaled << "\n";
m_re_scaledratio = m_re_scaled / PhysConst::r_e;
amrex::Print() << " ratio : re_scaled/re : " << m_re_scaledratio << "\n";
Expand Down

0 comments on commit ff4182b

Please sign in to comment.