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/
79 stars 57 forks source link

Broken dependancy on `create_constrained_umac_grown` function for main branch #119

Closed etpalmer63 closed 2 years ago

etpalmer63 commented 2 years ago

I think this change, https://github.com/AMReX-Codes/AMReX-Hydro/pull/52, broke the main branch of IAMR. The development branch compiles without error so the change probably just needs to be applied to the main branch.

When I compile run2d on IAMR's main branch, this is the error I get:

g++ -MMD -MP  -Werror=return-type -g -O3  -pthread    -DAMREX_GIT_VERSION=\"21.12-69-gbe0d73dd6b67\" -DAMREX_RELEASE_NUMBER=211200 -DBL_SPACEDIM=2 -DAMREX_SPACEDIM=2 -DBL_FORT_USE_UNDERSCORE -DAMREX_FORT_USE_UNDERSCORE -DBL_Linux -DAMREX_Linux -DNDEBUG -DAMREX_NO_PROBINIT -Itmp_build_dir/s/2d.gnu.EXE -I. -I. -I../../Source -I../../Source/Src_2d -I../../Source/prob -I../../Source/Utilities -I../../../AMReX-Hydro/Slopes -I../../../AMReX-Hydro/Utils -I../../../AMReX-Hydro/MOL -I../../../AMReX-Hydro/Godunov -I../../../AMReX-Hydro/Projections -I/home/epalmer/amrex//Src/Base -I/home/epalmer/amrex//Src/Base/Parser -I/home/epalmer/amrex//Src/AmrCore -I/home/epalmer/amrex//Src/Amr -I/home/epalmer/amrex//Src/Boundary -I/home/epalmer/amrex//Src/LinearSolvers/MLMG -I/home/epalmer/amrex//Tools/C_scripts  -c ../../Source/NS_LES.cpp -o tmp_build_dir/o/2d.gnu.EXE/NS_LES.o
../../Source/NavierStokesBase.cpp: In member function ‘void NavierStokesBase::create_umac_grown(int, const amrex::MultiFab*)’:
../../Source/NavierStokesBase.cpp:1056:15: error: ‘create_constrained_umac_grown’ is not a member of ‘HydroUtils’
 1056 |   HydroUtils::create_constrained_umac_grown (level, nGrow, grids, crse_geom, fine_geom,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling 
cgilet commented 2 years ago

This should be fixed now. Please feel free to reopen if you're still getting errors.

etpalmer63 commented 2 years ago

Thanks @cgilet !