Skip to content

Commit

Permalink
Update src/laser/MultiLaser.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Maxence Thévenet <[email protected]>
  • Loading branch information
huixingjian and MaxThevenet authored Sep 30, 2024
1 parent ff11124 commit 6a28742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/laser/MultiLaser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ MultiLaser::InitLaserSlice (const int islice, const int comp)
const amrex::Box& bx = mfi.tilebox();
amrex::Array4<amrex::Real> const & arr = m_slices.array(mfi);
// Initialize a laser envelope on slice islice
for (int ilaser=0; ilaser < m_nlasers; ilaser++) {
for (int ilaser = 0; ilaser < m_nlasers; ilaser++) {
auto& laser = m_all_lasers[ilaser];
if (laser.m_laser_init_type == "from_file"){
amrex::Array4<amrex::Real> const& arr_ff = laser.m_F_input_file.array();
Expand Down

0 comments on commit 6a28742

Please sign in to comment.