Skip to content

Commit

Permalink
allow FaceConservativeLinearInterpolater even if DIM == 1
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Mar 11, 2024
1 parent 6d7b1b8 commit 7f7aa67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Src/AmrCore/AMReX_Interpolater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ void FaceLinear::interp_arr (Array<FArrayBox*, AMREX_SPACEDIM> const& crse,
});
}

#if (AMREX_SPACEDIM > 1)
Box
FaceConservativeLinear::CoarseBox (const Box& fine, int ratio)
{
Expand Down Expand Up @@ -712,7 +711,6 @@ void FaceConservativeLinear::interp_arr (Array<FArrayBox*, AMREX_SPACEDIM> const
});
});
}
#endif // AMREX_SPACEDIM > 1

Box
CellBilinear::CoarseBox (const Box& fine, int ratio)
Expand Down

0 comments on commit 7f7aa67

Please sign in to comment.