Skip to content

Commit 1bc0fa8

Browse files
committed
Temporary fix for checkpoints
1 parent ef6e84c commit 1bc0fa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Diagnostics/FullDiagnostics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,8 @@ FullDiagnostics::InitializeBufferData (int i_buffer, int lev, bool restart ) {
709709
// Find if user-defined physical dimensions are different from the simulation domain.
710710
for (int idim=0; idim < AMREX_SPACEDIM; ++idim) {
711711
// To ensure that the diagnostic lo and hi are within the domain defined at level, lev.
712-
diag_dom.setLo(idim, std::max(m_lo[idim],warpx.Geom(lev).ProbLo(idim)) );
713-
diag_dom.setHi(idim, std::min(m_hi[idim],warpx.Geom(lev).ProbHi(idim)) );
712+
diag_dom.setLo(idim, warpx.Geom(lev).ProbLo(idim) );
713+
diag_dom.setHi(idim, warpx.Geom(lev).ProbHi(idim) );
714714
if ( std::fabs(warpx.Geom(lev).ProbLo(idim) - diag_dom.lo(idim))
715715
> warpx.Geom(lev).CellSize(idim) ) {
716716
use_warpxba = false;

0 commit comments

Comments
 (0)