Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeltzun committed Oct 12, 2023
1 parent cabe284 commit 1bf2359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ real64 AcousticFirstOrderWaveEquationSEM::explicitStepInternal( real64 const & t

// compute the seismic traces since last step.
arrayView2d< real32 > const pReceivers = m_pressureNp1AtReceivers.toView();
computeAllSeismoTraces( time_n, dt, p_np1, p_np1, pReceivers );
computeAllSeismoTraces( time_n, dt, p_np1, p_n, pReceivers );

incrementIndexSeismoTrace( time_n );
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,9 @@ void ElasticFirstOrderWaveEquationSEM::cleanup( real64 const time_n,
arrayView2d< real32 > const uyReceivers = m_displacementyNp1AtReceivers.toView();
arrayView2d< real32 > const uzReceivers = m_displacementzNp1AtReceivers.toView();

computeAllSeismoTraces( time_n, 0, ux_np1, ux_np1, uxReceivers );
computeAllSeismoTraces( time_n, 0, uy_np1, uy_np1, uyReceivers );
computeAllSeismoTraces( time_n, 0, uz_np1, uz_np1, uzReceivers );
computeAllSeismoTraces( time_n, 0.0, ux_np1, ux_np1, uxReceivers );
computeAllSeismoTraces( time_n, 0.0, uy_np1, uy_np1, uyReceivers );
computeAllSeismoTraces( time_n, 0.0, uz_np1, uz_np1, uzReceivers );

} );

Expand Down

0 comments on commit 1bf2359

Please sign in to comment.