[1D] Fixed an indexing error that affected Jacobian evaluations
Not all components of the Jacobian were being computed for the first point in the first flow Domain.
This commit is contained in:
parent
2052ac5b57
commit
3baa0eae94
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ eval(size_t jg, doublereal* xg, doublereal* rg,
|
|||
jmin = 0;
|
||||
jmax = m_points - 1;
|
||||
} else { // evaluate points for Jacobian
|
||||
jmin = std::max<size_t>(jpt-1, 0);
|
||||
jmin = std::max<size_t>(jpt, 1) - 1;
|
||||
jmax = std::min(jpt+1,m_points-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue