File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Source/Diagnostics/ReducedDiags Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -466,11 +466,11 @@ void ColliderRelevant::ComputeDiags (int step)
466
466
const int offset = 0 ;
467
467
const auto getExternalEB = GetExternalEBField (pti, offset);
468
468
const amrex::ParticleReal Ex_external_particle = myspc.m_E_external_particle [0 ];
469
- const amrex::ParticleReal Ey_external_particle = myspc.m_E_external_particle [0 ];
470
- const amrex::ParticleReal Ez_external_particle = myspc.m_E_external_particle [0 ];
469
+ const amrex::ParticleReal Ey_external_particle = myspc.m_E_external_particle [1 ];
470
+ const amrex::ParticleReal Ez_external_particle = myspc.m_E_external_particle [2 ];
471
471
const amrex::ParticleReal Bx_external_particle = myspc.m_B_external_particle [0 ];
472
- const amrex::ParticleReal By_external_particle = myspc.m_B_external_particle [0 ];
473
- const amrex::ParticleReal Bz_external_particle = myspc.m_B_external_particle [0 ];
472
+ const amrex::ParticleReal By_external_particle = myspc.m_B_external_particle [1 ];
473
+ const amrex::ParticleReal Bz_external_particle = myspc.m_B_external_particle [2 ];
474
474
475
475
// define variables in preparation for field gathering
476
476
amrex::Box box = pti.tilebox ();
You can’t perform that action at this time.
0 commit comments