From 9f73da4e187b24df0207a19df8afd7cdf610654b Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Tue, 2 Mar 2021 13:30:22 -0800 Subject: [PATCH] corotatingE must have Rstar --- Source/Particles/PulsarParameters.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Particles/PulsarParameters.H b/Source/Particles/PulsarParameters.H index bda589dbfff..ae7a2b6ef13 100644 --- a/Source/Particles/PulsarParameters.H +++ b/Source/Particles/PulsarParameters.H @@ -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 }