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
When using init_ghosted on a uniform point sampling the addition of the ghosts leads to rounding errors on the domain boundary. This issue can be avoided using tolerances as was done in #519 so it may not be serious, but it should at least be documented so users are aware of this potential pitfall.
It is true that you cannot expect exact equality between vx_min and ddc::coordinate(main_domain.front())/vx_xmax and ddc::coordinate(main_domain.back()). I don't think it is related to init_ghosted though, I guess init also has the same behavior. Are you relying on it in Gysela ?
I think for init you cannot expect exact equality between vx_xmax and ddc::coordinate(main_domain.back()) but you can expect exact equality between vx_xmin and ddc::coordinate(main_domain.front())
We are not relying on this for Gysela, but in DDC you were relying on it here:
When using
init_ghosted
on a uniform point sampling the addition of the ghosts leads to rounding errors on the domain boundary. This issue can be avoided using tolerances as was done in #519 so it may not be serious, but it should at least be documented so users are aware of this potential pitfall.Minimum reprocible example
Output is:
The text was updated successfully, but these errors were encountered: