Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numerical derivative? #81

Open
jagdeeps90 opened this issue Jun 6, 2024 · 3 comments
Open

Numerical derivative? #81

jagdeeps90 opened this issue Jun 6, 2024 · 3 comments
Labels
question Further information is requested

Comments

@jagdeeps90
Copy link

jagdeeps90 commented Jun 6, 2024

How can I select, forward, backward or center scheme?

@sijiehuang23
Copy link

I think you can check the thread below this one First Order Scheme

@maroba maroba added the question Further information is requested label Dec 20, 2024
@JAMSADIQ
Copy link

JAMSADIQ commented Jan 27, 2025

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?

@sijiehuang23
Copy link

sijiehuang23 commented Jan 27, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants