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
Hi, so I am using central differencing with second order accuracy for derivative of an array of values. what is default orser of accuracy for boundaries? Is it first order accurate or one can set forward and backward differences at boundaries with second order accuracy?
Hi, so I am using central differencing with second order accuracy for derivative of an array of values. what is default orser of accuracy for boundaries? Is it first order accurate or one can set forward and backward differences at boundaries with second order accuracy?
@JAMSADIQ I think, by default, it uses one-sided differences in the same order at the boundaries. I believe the latest update to the package allows you to enforce periodic conditions and use the centered difference throughout the domain.
How can I select, forward, backward or center scheme?
The text was updated successfully, but these errors were encountered: