From e8556cd6d50e9dc404d4b7b7a9c38ee901fce0c7 Mon Sep 17 00:00:00 2001 From: hayk Date: Thu, 28 Aug 2025 22:45:12 -0700 Subject: [PATCH] Update boundary conditions for 1D mesh --- src/framework/domain/mesh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/domain/mesh.h b/src/framework/domain/mesh.h index afb095f4..89f6a1b9 100644 --- a/src/framework/domain/mesh.h +++ b/src/framework/domain/mesh.h @@ -223,7 +223,7 @@ namespace ntt { auto flds_bc() const -> boundaries_t { if constexpr (D == Dim::_1D) { return { - { flds_bc_in({ -1 }), flds_bc_in({ -1 }) } + { flds_bc_in({ -1 }), flds_bc_in({ 1 }) } }; } else if constexpr (D == Dim::_2D) { return { @@ -246,7 +246,7 @@ namespace ntt { auto prtl_bc() const -> boundaries_t { if constexpr (D == Dim::_1D) { return { - { prtl_bc_in({ -1 }), prtl_bc_in({ -1 }) } + { prtl_bc_in({ -1 }), prtl_bc_in({ 1 }) } }; } else if constexpr (D == Dim::_2D) { return {