You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that newly created KNOWN values only update their closest neighbour's values. For second order schemes newly created KNOWN values need to update all values in the stencil. That is cells that are two steps away with a KNOWN value between.
Toy Problem
Take three cells lieing in a larger 2D array of cells. Say that 0.5 is the smallest value in the TRIAL cells
| TRIAL 0.5 | TRIAL 0.5 | TRIAL 0.51 |
One of the two values becomes updated to KNOWN, but that now information happens to lower the value of the left side cell.
| TRIAL 0.405 | KNOWN 0.5 | TRIAL 0.505 |
The left cell then becomes KNOWN
| KNOWN 0.405 | KNOWN 0.5 | TRIAL 0.505 |
TRIAL 0.51 is not reupdated when the left cell becomes KNOWN although the value is required for second order accuracy.
| KNOWN 0.405 | KNOWN 0.5 | KNOWN 0.505|
The text was updated successfully, but these errors were encountered:
This seems to be an issue with both LSMLIB and Scikit-fmm. The following test fails with LSMLIB, but passes (by luck) in Scikit-fmm.
One gets a different answer with LSMLIB
The issue is that newly created
KNOWN
values only update their closest neighbour's values. For second order schemes newly createdKNOWN
values need to update all values in the stencil. That is cells that are two steps away with aKNOWN
value between.Toy Problem
Take three cells lieing in a larger 2D array of cells. Say that 0.5 is the smallest value in the
TRIAL
cells| TRIAL 0.5 | TRIAL 0.5 | TRIAL 0.51 |
One of the two values becomes updated to KNOWN, but that now information happens to lower the value of the left side cell.
| TRIAL 0.405 | KNOWN 0.5 | TRIAL 0.505 |
The left cell then becomes KNOWN
| KNOWN 0.405 | KNOWN 0.5 | TRIAL 0.505 |
TRIAL 0.51 is not reupdated when the left cell becomes KNOWN although the value is required for second order accuracy.
| KNOWN 0.405 | KNOWN 0.5 | KNOWN 0.505|
The text was updated successfully, but these errors were encountered: