Skip to content

Commit

Permalink
fix re scaled
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Oct 23, 2023
1 parent 1f0233f commit 3a7e10e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Particles/PulsarParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ Pulsar::ReadParameters () {
pp.get("beta_rec_RR",m_beta_rec_RR); // reconnection rate
amrex::Real S = m_RLC/m_R_star; // Scale separation ratio
m_BLC = m_B_star/(S*S*S); // Bfield at LC
m_re_scaled = m_beta_rec_RR * (3./2.) * PhysConst::m_e * PhysConst::c
/ (m_gammarad_RR * m_gammarad_RR * PhysConst::q_e * m_BLC);
m_re_scaled = m_beta_rec_RR * (3./2.) * PhysConst::q_e
/ ( 4 * MatchConst::pi * PhysConst::ep0 * m_gammarad_RR * m_gammarad_RR * PhysConst::c * m_BLC);
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 3a7e10e

Please sign in to comment.