Skip to content

Commit

Permalink
Use consistently first order interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Nov 25, 2024
1 parent c64d439 commit 2d64a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/field/field3d.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ void Field3D::setBoundaryTo(const Field3D& f3d) {
// Interpolate midpoint value in f3d
const BoutReal val = pnt.interpolate_sheath_o1(f3d);
// Set the same boundary value in this field
pnt.dirichlet_o2(*this, val);
pnt.dirichlet_o1(*this, val);
}
}
}
Expand Down

0 comments on commit 2d64a0d

Please sign in to comment.