-
Notifications
You must be signed in to change notification settings - Fork 9
Add plots, remove extra changes #20
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
base: master
Are you sure you want to change the base?
Conversation
Add solution plots to poisson solver notebook
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks! From the webpage build in the CI Artifacts the results look good to me.
(I guess there is a way to avoid the cell id's to be changed, but this is not a big problem)
For completeness you can add a short description of your PR (by editing the first cell in this conversation). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anushkasinghh Thanks for this PR. I have a couple of comments.
"# Define the exact solution as a symbolic expression (example: phi_exact = x^2 + y^2)\n", | ||
"ue = sin(np.pi*x)*sin(np.pi*y)\n", | ||
"\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ue
was already defined in the section titled "Computing the L^2 norm", as it was needed to define the error norms. Please remove its definition from this place, and move the comment line (which is useful) to the previous definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, I have just realized that the same section redefines u
, which was previously defined in the section titled "Formal Model". Could you please remove the second definition?
@@ -257,7 +257,7 @@ | |||
{ | |||
"cell_type": "code", | |||
"execution_count": null, | |||
"id": "d829e410", | |||
"id": "827c3e69-77ac-4312-a4dd-a1c26a40b27c", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this id can be changed by hand to its original value using a text editor (or from the GitHub web interface). If it causes a problem, our CI build will spot it.
added plotting function for numerical & analytics solutions and the error