Skip to content

Commit

Permalink
Fix full plotfiles with only derived variables
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed Apr 14, 2024
1 parent 7813bb7 commit 523cf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Amr/AMReX_Amr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ Amr::writePlotFile ()

// Don't continue if we have no variables to plot.

if (statePlotVars().empty()) {
if (statePlotVars().empty() && derivePlotVars().empty()) {
return;
}

Expand Down

0 comments on commit 523cf8b

Please sign in to comment.