Skip to content

Add mathematical documentation for 2D elliptic boundary-condition examples - #524

Open
susan-bronco wants to merge 1 commit into
csrc-sdsu:mainfrom
susan-bronco:docs/issue-510-mathematical-examples
Open

susan-bronco wants to merge 1 commit into
csrc-sdsu:mainfrom
susan-bronco:docs/issue-510-mathematical-examples

Conversation

@susan-bronco

Copy link
Copy Markdown

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Example
  • [ X] Documentation

Description

This draft pull request adds mathematical documentation for the elliptic2DXDirichletYDirichlet.m example.

The documentation explains the Laplace equation being solved, the domain, the Dirichlet boundary conditions, the exact solution, how the example uses MOLE, and the numerical error. The remaining four 2D boundary-condition examples from Issue #510 will be added in follow-up commits.

Related Issues & Documents

  • [X ] I have created an Issue that is paired with this PR
  • Closes #

QA Instructions, Screenshots, Recordings

I tested this documentation by running make doc-html from the doc/sphinx directory. I then opened the generated HTML page and checked that it rendered correctly and that it accurately described the code, including the equation, domain,
boundary conditions, exact solution, and numerical errors.

I also ran the Octave example successfully, and the output was:

Maximum error: 0.0003
Relative error: 0.0006%

I previewed the page locally in Google Chrome on Windows.

Keep-open request

  • [ X] I am requesting maintainer review for keep-open.

Reason: This is a work-in-progress pull request for Issue #510. The remaining four mathematical example pages will be added in follow-up commits.

Added/updated tests?

_We encourage you to test all code included with MOLE, including examples.

  • Yes
  • [ X] No, and this is why: this is a documentation only change.
  • I need help with writing tests

Read Contributing Guide and Code of Conduct

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant