-
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
Fixes for glvis-js #310
Fixes for glvis-js #310
Conversation
Btw, how is this compiled? And another one, how about adding support for quadrature functions? 🤔 |
Basically, follow the build section in the README: https://github.com/GLVis/glvis-js Although, in order to build I needed to make a change in mfem (PR) and also use an older emscripten version. I want to setup CI similar to mfem->pymfem so it will rebuild glvis-js on pushes to glvis master 😅 Quadrature support sounds good! Let's make it a separate PR though so this can get into master 😄 |
Omg, that is complicated, ok I trust you it can be build 😉 . That CI sounds great. We may also wait for it and merge it here (like a dependent PR, keeping it open) 🚀 . |
@najlkin Is it okay to always pass vs = vss = new VisualizationSceneSolution(*stream_state.mesh, stream_state.sol,
stream_state.mesh_quad.get(), &stream_state.normals); even if we aren't using quadrature visualization? If so then I can remove the new constructors. |
Yes, this is how it works in |
Btw, a funny thing is that I do not use that coarse mesh at all 😄 , it is only for indication that you want to visualize the coarse mesh lines or not, but it is conceptually cleaner to do it this way, because it is just an implementation detail that there is no dependency, but you could use it somehow in principle. |
Okay, sounds good to me! |
Besides that, it seems to me that GLVis live should be able to load and visualize quadratures with this update automatically, since we are loading stream files directly 😮 . |
Thanks for reviewing 😎 |
Some of the changes in
v4.3
broke portions ofaux_js.cpp
because they aren't using the updated constructors, enums, etc. This PR makes updates so we can buildglvis-js
again.