From c4b123c64503d93087649d29565dc572df956ee7 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Fri, 22 Nov 2024 09:21:15 -0700 Subject: [PATCH] loosen tolerances of boundary plane asserts --- amr-wind/wind_energy/ABLBoundaryPlane.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amr-wind/wind_energy/ABLBoundaryPlane.cpp b/amr-wind/wind_energy/ABLBoundaryPlane.cpp index 2aa43c8287..ee90d0b2c1 100644 --- a/amr-wind/wind_energy/ABLBoundaryPlane.cpp +++ b/amr-wind/wind_energy/ABLBoundaryPlane.cpp @@ -892,8 +892,8 @@ void ABLBoundaryPlane::populate_data( } AMREX_ALWAYS_ASSERT( - ((m_in_data.tn() <= time) || (time <= m_in_data.tnp1()))); - AMREX_ALWAYS_ASSERT(std::abs(time - m_in_data.tinterp()) < 1e-12); + ((m_in_data.tn() <= time - 1e-8) || (time <= m_in_data.tnp1() - 1e-8))); + AMREX_ALWAYS_ASSERT(std::abs(time - m_in_data.tinterp()) < 1e-8); for (amrex::OrientationIter oit; oit != nullptr; ++oit) { auto ori = oit();