Skip to content

Commit

Permalink
Fix knotvector index
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLotz committed Sep 6, 2023
1 parent 64c8725 commit 07189ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesh/nurbs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -2157,7 +2157,7 @@ void NURBSExtension::ConnectBoundaries3D(int bnd0, int bnd1)
mfem::out<<p2g0.ny()<<" "<<p2g1.ny()<<endl;

mfem::out<<kv0[0]->GetNKS()<<" "<<kv1[0]->GetNKS()<<endl;
mfem::out<<kv0[1]->GetNKS()<<" "<<kv1[0]->GetNKS()<<endl;
mfem::out<<kv0[1]->GetNKS()<<" "<<kv1[1]->GetNKS()<<endl;

mfem::out<<kv0[0]->GetOrder()<<" "<<kv1[0]->GetOrder()<<endl;
mfem::out<<kv0[1]->GetOrder()<<" "<<kv1[1]->GetOrder()<<endl;
Expand Down

0 comments on commit 07189ad

Please sign in to comment.