Python icon indicating copy to clipboard operation
Python copied to clipboard

runge kutta methods updated. bogacki_shampine, a 3rd order method added.

Open Ziaeemehr opened this issue 3 years ago • 1 comments

Describe your change:

I adde bogacki shampine algorithm (3rd order) to solve ordinary differential equations, I also modified runge kurta 4th order method to a standard shape to solve one step integration and independet from intial and end simulation time.

docstring test added to each algorithm.

  • [X] Add an algorithm?
  • [ ] Fix a bug or typo in an existing algorithm?
  • [ ] Documentation change?

Checklist:

  • [X] I have read CONTRIBUTING.md.
  • [X] This pull request is all my own work -- I have not plagiarized.
  • [X] I know that pull requests will not be merged if they fail the automated tests.
  • [X] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • [X] All new Python files are placed inside an existing directory.
  • [X] All filenames are in all lowercase characters with no spaces or dashes.
  • [X] All functions and variable names follow Python naming conventions.
  • [X] All function parameters and return values are annotated with Python type hints.
  • [X] All functions have doctests that pass the automated testing.
  • [X] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • [X] If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

Ziaeemehr avatar Aug 10 '22 13:08 Ziaeemehr

@chttrjeankr @infrontoftheforest Do you think this is implemented correctly?

Erfaniaa avatar Aug 10 '22 14:08 Erfaniaa

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 05:09 stale[bot]

v

cclauss avatar Oct 01 '22 08:10 cclauss