Skip to content

Commit

Permalink
corotatingE must have Rstar
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Mar 18, 2021
1 parent f8a1f2f commit 9f73da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Particles/PulsarParameters.H
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ namespace PulsarParm
if ( r <= max_EBcorotating_radius ) {
amrex::Real r2 = r_ratio * r_ratio;
// Michel and Li -- eq 14 , 15
Er = B_star * omega * r2 * r * s_theta * s_theta;
Etheta = -B_star * omega * r2 * r * 2.0 * s_theta * c_theta;
Er = B_star * omega * r2 * R_star * s_theta * s_theta;
Etheta = -B_star * omega * r2 * R_star * 2.0 * s_theta * c_theta;
Ephi = 0.0; // aligned magnetic and rotation axis
}

Expand Down

0 comments on commit 9f73da4

Please sign in to comment.