Skip to content

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

anushkasinghh
Copy link

@anushkasinghh anushkasinghh commented Mar 13, 2025

added plotting function for numerical & analytics solutions and the error

Copy link

@campospinto campospinto left a 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)

@campospinto
Copy link

For completeness you can add a short description of your PR (by editing the first cell in this conversation).

@yguclu yguclu self-requested a review March 17, 2025 10:41
Copy link
Member

@yguclu yguclu left a 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.

Comment on lines +367 to +369
"# 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",
Copy link
Member

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.

Copy link
Member

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",
Copy link
Member

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.

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.

3 participants