-
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
Can we overlay multiple solutions and meshes? #150
Comments
The short answer is: "currently NO" :( The long answer is that GLVis does support all the required tools -- computing grid function in a cutting plane, showing part of the mesh, etc. but it does not have a user interface to define and combine them, e.g. only one cutting plane is defined and can be manipulated. It is always tricky where to draw the line between a fast/simple tool like GLVis and a more full-fledged vis environment as VisIt and ParaView 😁 |
That being said, you can totally visualize separate parts in separate windows |
I wouldn't recommend it to everyone, but it also possible to hack GLVis for a particular plot. That's how this image was generated: https://glvis.org/img/gallery/tp-3d-ale-black.png |
@sshiraiwa , if you just need just visualization of 2 or more meshes/solution on the same window you can play the "parallel" trick. Something like this would do it for (int i = 0 ; i<nrsub; i++)
{
socketstream sol_sock(vishost, visport);
sol_sock.precision(8);
sol_sock << "parallel " << nrsub << " " << i << "\n";
sol_sock << "solution\n" << *Meshes[i] << *gf[i] << flush;
} Thanks, Socratis |
Hi all, Thank you for your suggestions and clarification. |
I am wondering if one can generate a figure like this one https://mfem.org/img/gallery/nstxu_hhfw.png, which is made from two solutions and one mesh file, inside GLVis :-D?
The text was updated successfully, but these errors were encountered: