Skip to content

Commit

Permalink
Update Hipace.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
EyaDammak authored Feb 9, 2025
1 parent 04d48ce commit 07cf5bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Hipace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,10 @@ Hipace::SolveOneSlice (int islice, int step)
m_multi_plasma.DoLaserIonization(islice, m_multi_laser.GetLaserGeom(), m_multi_laser);

// Push plasma particle
for (int lev=0; lev<current_N_level; ++lev) {
m_multi_plasma.AdvanceParticles(m_fields, m_3D_geom, false, lev);
if (false){ // TEMPORARY
for (int lev=0; lev<current_N_level; ++lev) {
m_multi_plasma.AdvanceParticles(m_fields, m_3D_geom, false, lev, current_N_level);
}
}

// get minimum beam acceleration on level 0
Expand Down

0 comments on commit 07cf5bc

Please sign in to comment.