Skip to content

Commit

Permalink
Fix computation error
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbuykx committed Feb 5, 2024
1 parent a71b029 commit 2b2d1f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void CurvilinearGridLineMirror::Compute()
if (gridLineType == CurvilinearGrid::BoundaryGridLineType::Right)
{
auto const last_row = m_grid.m_gridNodes.rows() - 1;
m_grid.m_gridNodes.row(last_row)[i] = m_grid.m_gridNodes(m_grid.m_numM - 1, i) * a -
m_grid.m_gridNodes.row(last_row)[i] = m_grid.m_gridNodes(m_grid.m_numM - 1, i) * a +
m_grid.m_gridNodes(m_grid.m_numM - 2, i) * b;
}
if (gridLineType == CurvilinearGrid::BoundaryGridLineType::Up)
Expand Down

0 comments on commit 2b2d1f8

Please sign in to comment.