From d20c1571aaf4542f4c285242afdb11e8d2e8a7cb Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Mon, 27 Nov 2023 18:31:35 -0800 Subject: [PATCH] remove unusued use_fluxes option --- Source/ERF_make_new_level.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/ERF_make_new_level.cpp b/Source/ERF_make_new_level.cpp index b9833011a..5ba0f8dc2 100644 --- a/Source/ERF_make_new_level.cpp +++ b/Source/ERF_make_new_level.cpp @@ -468,17 +468,11 @@ ERF::initialize_integrator (int lev, MultiFab& cons_mf, MultiFab& vel_mf) const DistributionMapping& dm(cons_mf.DistributionMap()); // Initialize the integrator memory - int use_fluxes = (finest_level > 0); amrex::Vector int_state; // integration state data structure example int_state.push_back(MultiFab(cons_mf, amrex::make_alias, 0, Cons::NumVars)); // cons int_state.push_back(MultiFab(convert(ba,IntVect(1,0,0)), dm, 1, vel_mf.nGrow())); // xmom int_state.push_back(MultiFab(convert(ba,IntVect(0,1,0)), dm, 1, vel_mf.nGrow())); // ymom int_state.push_back(MultiFab(convert(ba,IntVect(0,0,1)), dm, 1, vel_mf.nGrow())); // zmom - if (use_fluxes) { - int_state.push_back(MultiFab(convert(ba,IntVect(1,0,0)), dm, Cons::NumVars, 1)); // x-fluxes - int_state.push_back(MultiFab(convert(ba,IntVect(0,1,0)), dm, Cons::NumVars, 1)); // y-fluxes - int_state.push_back(MultiFab(convert(ba,IntVect(0,0,1)), dm, Cons::NumVars, 1)); // z-fluxes - } mri_integrator_mem[lev] = std::make_unique > >(int_state); mri_integrator_mem[lev]->setNoSubstepping(solverChoice.no_substepping);