Skip to content

Commit

Permalink
Remove unused member varibable introduced in initial attempts to
Browse files Browse the repository at this point in the history
add mixed BCs. Ultimately, the different pieces need the BC info
in slightly different ways, so just make it on the spot.
  • Loading branch information
cgilet committed Feb 21, 2024
1 parent 94462a8 commit 55f38c9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/incflo.H
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::unique_ptr<amrex::iMultiFab> > m_BC_MF;
bool m_has_mixedBC = false;

amrex::GpuArray<BC , AMREX_SPACEDIM*2> m_bc_type;
Expand All @@ -607,7 +602,6 @@ private:
amrex::Vector<amrex::Real> 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<amrex::Real const*, AMREX_SPACEDIM*2> m_bc_tracer_d;
amrex::Gpu::DeviceVector<amrex::Real> m_bc_tracer_raii;
//
Expand Down
1 change: 0 additions & 1 deletion src/incflo_regrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/setup/incflo_arrays.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 55f38c9

Please sign in to comment.