-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bubble shear on the fly adapt demo #145
Conversation
Still a few small things to sort out before ready for full review. @stephankramer further to our discussion, could you please check that the |
Hey @jwallwork23, could you please review when you have a bit of time? I had to comment out the rank check in
Do you see a nice workaround please? If it's not obvious, I'll keep digging :) other than that it should be good I think |
Could you not just try interpolating |
Alternatively, just have a solver that acts on the full metric rather than a solver for each of it's components? |
c54e073
to
81ce258
Compare
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.
This is amazing, thanks @ddundo! Quite a few comments but mostly fairly minor.
Please can you create a linked mesh-adaptation-docs
PR to add the new demo to animate/index.rst
?
demos/bubble_shear.py
Outdated
# ######################################### | ||
# | ||
# In this demo we consider the 2-dimensional version of the mesh adaptation experiment | ||
# presented in :cite:<Barral:2016>. The problem comprises a bubble of tracer |
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.
Citation doesn't work because it's inconsistent with the one in demo_references.bib
.
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.
Sorry, I see now it's supposed to have backslashes instead of brackets! Fixed in 6111ca5
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.
Btw I always get errors for citations locally, e.g. /data3/mesh-adaptation-docs/docs/source/demos/solid_body_rotation.py.rst:21: WARNING: could not find bibtex key "LeVeque:1996"
so I ignored this :)
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.
Are you saying that the citations never render for you in Sphinx? They work fine for me.
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.
Oh actually I do get the same warnings, although the citations render in the HTML.
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 tried it on the new docker image now. I get the same warnings and the citations don't render in html (i.e. they just appear as empty brackets []
). I guess you're doing this on the docker image and following the same instructions as in the mesh-adaptation-docs readme?
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 don't tend to use the Docker image locally, no. I'm using a local build. Navigating to ${VIRTUAL_ENV}/src/mesh-adaptation-docs/docs
and running make html
.
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.
Please open an issue.
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.
Opened mesh-adaptation/docs#50
Thanks a lot for the detailed review @jwallwork23! I'm sorry for doing such a terrible job at self-reviewing :) hopefully all is good now! |
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.
Thanks @ddundo, just some minor comments and suggestions now.
Thanks again @jwallwork23! Addressed the final comments so will merge now. (Cancelled the workflow since it's just text updates) |
Closes #55. Closes #144.