From fa6677b9918401776b8e1961e167a6909cdeba9f Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Mon, 9 Dec 2024 09:01:17 -0800 Subject: [PATCH] update plotfile to use general divergence routine --- Source/IO/ERF_Plotfile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/IO/ERF_Plotfile.cpp b/Source/IO/ERF_Plotfile.cpp index 01a79c1cd..4b9ab1084 100644 --- a/Source/IO/ERF_Plotfile.cpp +++ b/Source/IO/ERF_Plotfile.cpp @@ -1,7 +1,6 @@ #include #include #include "AMReX_Interp_3D_C.H" -#include "AMReX_PlotFileUtil.H" #include "ERF_TerrainMetrics.H" #include "ERF_Constants.H" @@ -368,7 +367,7 @@ ERF::WritePlotFile (int which, PlotFileType plotfile_type, Vector 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; }