From 55f38c9cd0702a62f1228a8374f7e5c568ed8ef1 Mon Sep 17 00:00:00 2001 From: cgilet Date: Wed, 21 Feb 2024 12:11:10 -0500 Subject: [PATCH] Remove unused member varibable introduced in initial attempts to add mixed BCs. Ultimately, the different pieces need the BC info in slightly different ways, so just make it on the spot. --- src/incflo.H | 6 ------ src/incflo_regrid.cpp | 1 - src/setup/incflo_arrays.cpp | 2 -- 3 files changed, 9 deletions(-) diff --git a/src/incflo.H b/src/incflo.H index 7d1990c7..b0553e03 100644 --- a/src/incflo.H +++ b/src/incflo.H @@ -591,11 +591,6 @@ private: periodic, mixed, undefined }; -// FIXME - don;t think this is the way to go, just use flag and make when needed since different - // code routines need the info in different containers... - // mask for mixed BCs: 1 = inflow (Neumann for NodalProj, Dirichlet for advection), - // 0 = outflow (Homogeneous Dirichlet for NodalProj, FOEXTRAP for advection) - amrex::Vector > m_BC_MF; bool m_has_mixedBC = false; amrex::GpuArray m_bc_type; @@ -607,7 +602,6 @@ private: amrex::Vector m_bc_eb_velocity; // amrex::Vector cannot be used on gpu, so ... - // FIXME? can probably let go of this an treat like vel... amrex::GpuArray m_bc_tracer_d; amrex::Gpu::DeviceVector m_bc_tracer_raii; // diff --git a/src/incflo_regrid.cpp b/src/incflo_regrid.cpp index 33c4a301..802de0dd 100644 --- a/src/incflo_regrid.cpp +++ b/src/incflo_regrid.cpp @@ -118,7 +118,6 @@ void incflo::ClearLevel (int lev) BL_PROFILE("incflo::ClearLevel()"); m_leveldata[lev].reset(); m_factory[lev].reset(); - m_BC_MF[lev].reset(); m_diffusion_tensor_op.reset(); m_diffusion_scalar_op.reset(); macproj.reset(); diff --git a/src/setup/incflo_arrays.cpp b/src/setup/incflo_arrays.cpp index 67c79ba6..be3e4cf7 100644 --- a/src/setup/incflo_arrays.cpp +++ b/src/setup/incflo_arrays.cpp @@ -59,6 +59,4 @@ void incflo::ResizeArrays () m_leveldata.resize(max_level+1); m_factory.resize(max_level+1); - - //m_BC_MF.resize(max_level+1); }