-
Notifications
You must be signed in to change notification settings - Fork 53
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
Visualization of quadrature functions #286
Conversation
Looks like f25e99e fixed the CI |
Here is the above picture with the mesh drawn as @vladotomov suggested |
I like the latest changes @najlkin, re-approving 👍 |
Wait for 3D 😮 😎 |
Nice to hear @justinlaughlin , you need to choose what you want to visualize - a grid function or quadrature function. If you have a bit of time, please test different options, like dimensions, vector/scalar, shadings, ... |
Ok, I think I am done 🙌 . There is 3D scalar/vector visualization of original quadrature mesh lines, including element-wise cutting plane ( |
Forgot to mention I tried some things using ex1: different meshes, mesh refinement, function space order, serial/parallel, shadings, stream/command line; I saw no issues. I can test it out more but it would be next week. Looks good to me! |
oh, forgot to mention I tested on WSL2 ubuntu 20.04 |
Very cool, thanks @najlkin!! |
This PR adds support for visualization of quadratures (
QuadratureFunction
). They can be loaded from a file through the new command line argument-q
or in a socket stream with the keywordquadrature
(instead ofsolution
). Two options of visualization are offered (which can be switched byQ
key):Note that high-order quadratures are supported only for tensor finite elements with the first two options.
TODO 📑 :