You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was interested in adding boundary conditions to a tutorial example from issue #231. I also wanted to convert the example into C++. Please let me know if this is wanted and also if there is any other information I should know.
Sounds good. I recommend something with Neumann boundary conditions. Those are very hard to hand-code a boundary operator with >1 order accuracy. The example should show some error convergence, and let the user change the order of accuracy of the mimetic operators to get a higher order approximation. Assume the user will not change the finite difference example.
@jbrzensk Do you want the Neumann boundary conditions added to the existing tutorial on the two way wave equation or is this supposed to be a new tutorial?
@jbrzensk I noticed that the existing tutorial shows that the mimetic difference error slope is greater than the finite difference error slope. Is this expected behavior? I tried comparing the errors with the energy norm on my BC tutorial, but I am still getting the same results. Any guidance on this issue would be very helpful.
Thanks for the discussion and work here. This issue has had no activity for 28 days, so it is now marked stale. If there is no further activity, it will be closed in 42 days.
Closing because this issue stayed stale for 42 days with no activity. If this is still needed, please reopen it or open a new issue with updated context.
Thanks for the discussion and work here. This issue has had no activity for 28 days, so it is now marked stale. If there is no further activity, it will be closed in 42 days.
Closing because this issue stayed stale for 42 days with no activity. If this is still needed, please reopen it or open a new issue with updated context.
Activity
valeriabarra commentedon Apr 1, 2026
@jbrzensk if you have any advice, please let us know!
valeriabarra commentedon Apr 1, 2026
This relates to Issue #231
jbrzensk commentedon Apr 6, 2026
Sounds good. I recommend something with Neumann boundary conditions. Those are very hard to hand-code a boundary operator with >1 order accuracy. The example should show some error convergence, and let the user change the order of accuracy of the mimetic operators to get a higher order approximation. Assume the user will not change the finite difference example.
12jordans commentedon Apr 7, 2026
@jbrzensk Do you want the Neumann boundary conditions added to the existing tutorial on the two way wave equation or is this supposed to be a new tutorial?
jbrzensk commentedon Apr 7, 2026
Make it a separate file in the same tutorial directory. Similar naming. "comparison_two_way_with_neumann.m" or something.
12jordans commentedon Apr 28, 2026
@jbrzensk I noticed that the existing tutorial shows that the mimetic difference error slope is greater than the finite difference error slope. Is this expected behavior? I tried comparing the errors with the energy norm on my BC tutorial, but I am still getting the same results. Any guidance on this issue would be very helpful.
jbrzensk commentedon Apr 28, 2026
Thanks, @12jordans, good catch. The tutorial needs to be updated. I will make an issue.
Try the version from the MATH693B branch..
Notably, it changes how the error is calculated and the function for the initial conditions.
It also lets you play with the wave speed, dt, and grid cells more easily so you can see the changes.
12jordans commentedon Apr 29, 2026
Thank you! I will use that version and update my code.
jbrzensk commentedon Apr 29, 2026
@12jordans The tutorial has been updated. If you git pull, you should get an updated tutorial on the main branch that shows the plots above.
github-actions commentedon May 23, 2026
This issue has had no activity for 23 days. It will be marked
stalein 5 days if there is no further activity.github-actions commentedon May 27, 2026
Thanks for the discussion and work here. This issue has had no activity for 28 days, so it is now marked
stale. If there is no further activity, it will be closed in 42 days.github-actions commentedon Jul 9, 2026
Closing because this issue stayed stale for 42 days with no activity. If this is still needed, please reopen it or open a new issue with updated context.
github-actions commentedon Jul 24, 2026
This issue has had no activity for 14 days. It will be marked
stalein 14 days if there is no further activity.github-actions commentedon Aug 7, 2026
Thanks for the discussion and work here. This issue has had no activity for 28 days, so it is now marked
stale. If there is no further activity, it will be closed in 42 days.github-actions commentedon Sep 18, 2026
Closing because this issue stayed stale for 42 days with no activity. If this is still needed, please reopen it or open a new issue with updated context.
github-actions commentedon Oct 2, 2026
This issue has had no activity for 14 days. It will be marked
stalein 14 days if there is no further activity.valeriabarra commentedon Oct 2, 2026
keep-open