AMReX-Fluids / IAMR

A parallel, adaptive mesh refinement (AMR) code that solves the variable-density incompressible Navier-Stokes equations.
https://amrex-fluids.github.io/IAMR/
80 stars 57 forks source link

Remove Diffusion::visc_coef array and clean up of NavierStokes initialization. #113

Closed cgilet closed 2 years ago

cgilet commented 2 years ago

Remove Diffusion::visc_coef because it's not used in Diffusion. Move checks on visc_coef from Diffusion to NavierStokes (which actually uses visc_coef). Remove NavierStokesBase::Initialize_specific. Minor clean up of NavierStokes Initialize for clarity and to quiet compiler warnings.

cgilet commented 2 years ago

@esclapez I don't think any of this requires any changes in PeleLM. However, it will allow you to remove a superfluous visc_coef array which I think derived classes previously were required to carry.