From 07189adb6d53fbaddbc0aefb9d28f3c646f1751b Mon Sep 17 00:00:00 2001 From: JacobLotz Date: Wed, 6 Sep 2023 10:04:31 +0200 Subject: [PATCH] Fix knotvector index --- mesh/nurbs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh/nurbs.cpp b/mesh/nurbs.cpp index aaef06e38c1..2a5a61f9045 100644 --- a/mesh/nurbs.cpp +++ b/mesh/nurbs.cpp @@ -2146,7 +2146,7 @@ void NURBSExtension::ConnectBoundaries3D(int bnd0, int bnd1) if (p2g0.ny() != p2g1.ny()) { compatible = false; } if (kv0[0]->GetNKS() != kv1[0]->GetNKS()) { compatible = false; } - if (kv0[1]->GetNKS() != kv1[0]->GetNKS()) { compatible = false; } + if (kv0[1]->GetNKS() != kv1[1]->GetNKS()) { compatible = false; } if (kv0[0]->GetOrder() != kv1[0]->GetOrder()) { compatible = false; } if (kv0[1]->GetOrder() != kv1[1]->GetOrder()) { compatible = false; } @@ -2157,7 +2157,7 @@ void NURBSExtension::ConnectBoundaries3D(int bnd0, int bnd1) mfem::out<GetNKS()<<" "<GetNKS()<GetNKS()<<" "<GetNKS()<GetNKS()<<" "<GetNKS()<GetOrder()<<" "<GetOrder()<GetOrder()<<" "<GetOrder()<