Skip to content

Commit 9f73da4

Browse files
corotatingE must have Rstar
1 parent f8a1f2f commit 9f73da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Particles/PulsarParameters.H

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ namespace PulsarParm
7070
if ( r <= max_EBcorotating_radius ) {
7171
amrex::Real r2 = r_ratio * r_ratio;
7272
// Michel and Li -- eq 14 , 15
73-
Er = B_star * omega * r2 * r * s_theta * s_theta;
74-
Etheta = -B_star * omega * r2 * r * 2.0 * s_theta * c_theta;
73+
Er = B_star * omega * r2 * R_star * s_theta * s_theta;
74+
Etheta = -B_star * omega * r2 * R_star * 2.0 * s_theta * c_theta;
7575
Ephi = 0.0; // aligned magnetic and rotation axis
7676
}
7777

0 commit comments

Comments
 (0)