Skip to content

Commit

Permalink
fix ghost cell filling function index typo
Browse files Browse the repository at this point in the history
  • Loading branch information
j8xixo12 committed Aug 27, 2023
1 parent f13ceeb commit 6dd41ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/modmesh/mesh/StaticMesh_boundary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ inline void StaticMesh::fill_ghost()
}
for (size_t idm = 0; idm < m_ndim; ++idm)
{
m_ndcrd(igcl, idm) = m_ndcrd(icl, idm) + 2 * dist * m_fcnml(ibfc, idm);
m_ndcrd(ignd, idm) = m_ndcrd(ind, idm) + 2 * dist * m_fcnml(ibfc, idm);
}
// decrement ghost node counter.
ignd -= 1;
Expand Down

0 comments on commit 6dd41ed

Please sign in to comment.