Skip to content

Implement example program to compute derivatives#6

Draft
pbartholomew08 wants to merge 31 commits into1-implement-non-uniform-compact-finite-difference-schemesfrom
1--implement-fd-example
Draft

Implement example program to compute derivatives#6
pbartholomew08 wants to merge 31 commits into1-implement-non-uniform-compact-finite-difference-schemesfrom
1--implement-fd-example

Conversation

@pbartholomew08
Copy link
Contributor

No description provided.

@pbartholomew08 pbartholomew08 marked this pull request as draft February 27, 2023 23:50
@pbartholomew08
Copy link
Contributor Author

pbartholomew08 commented Mar 10, 2023

Appears to be essentially working, however some oscillations around refinement interface
dfdx33
although this does appear to improve with grid refinement - is it expected or indicative of a bug?
dfdx66

@pbartholomew08
Copy link
Contributor Author

Issue appears to be worse when mesh is refined in the central region
foo

pbartholomew08 and others added 5 commits March 22, 2023 22:12
The way these had been written wasn't wise, too many FP operations
with potential for numerical errors. Also, the divisors should be
2h / 4h for the i+/-1 and i+/-2 cases, respectively which is the
case for the new arrangement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement non-uniform Compact Finite Difference schemes

1 participant