Skip to content

Commit 35db4d1

Browse files
ax3lWeiqunZhang
andauthored
Cheaper
Co-authored-by: Weiqun Zhang <[email protected]>
1 parent e785f00 commit 35db4d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Diagnostics/FullDiagnostics.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,8 @@ FullDiagnostics::InitializeBufferData (int i_buffer, int lev, bool restart ) {
765765
ba.coarsen(m_crse_ratio).refine(m_crse_ratio);
766766

767767
// Box covering the extent of the user-defined diagnostic domain
768-
amrex::Box const domain = ba.minimalBox();
768+
amrex::Box domain = diag_box;
769+
domain.coarsen(m_crse_ratio).refine(m_crse_ratio);
769770

770771
// Update the physical co-ordinates m_lo and m_hi using the final index values
771772
// from the coarsenable, cell-centered BoxArray, ba.

0 commit comments

Comments
 (0)