Skip to content

Commit

Permalink
update plotfile to use general divergence routine
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Dec 9, 2024
1 parent e8c3bd5 commit fa6677b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/IO/ERF_Plotfile.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <ERF_EOS.H>
#include <ERF.H>
#include "AMReX_Interp_3D_C.H"
#include "AMReX_PlotFileUtil.H"
#include "ERF_TerrainMetrics.H"
#include "ERF_Constants.H"

Expand Down Expand Up @@ -368,7 +367,7 @@ ERF::WritePlotFile (int which, PlotFileType plotfile_type, Vector<std::string> p
u[0] = &(vars_new[lev][Vars::xvel]);
u[1] = &(vars_new[lev][Vars::yvel]);
u[2] = &(vars_new[lev][Vars::zvel]);
computeDivergence(dmf, u, geom[lev]);
compute_divergence (lev, dmf, u, geom[lev]);
mf_comp += 1;
}

Expand Down

0 comments on commit fa6677b

Please sign in to comment.