-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix/plot mesh as linear #915
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
3d3b98b
WIP
PProfizi e6a13ec
Modified as_linear for quad8 to really transform them to quad4
PProfizi d6f9c5f
Fix as_linear=True
PProfizi 3ee4ae5
Fix as_linear=False with semi-parabolic
PProfizi 667a4ec
Add as_linear argument to MeshedRegion.plot and to Plotter.plot_conto…
PProfizi b551247
Fix as_linear
PProfizi e50a505
Fix _PyVistaPlotter.add_field()
PProfizi e555384
Fix as_linear=False
PProfizi f24c44b
Merge branch 'master' into fix/plot_quadratic_elements
PProfizi af60642
Add as_linear argument to Model.plot()
PProfizi dc29a27
Update the 00-basic_plotting.py example to showcase as_linear=False
PProfizi f3d393e
Add a test for MeshedRegion.plot(as_linear=False)
PProfizi 7f3d5ba
Merge branch 'master' into fix/plot_quadratic_elements
PProfizi 62175d9
Try and fix 02-volume_averaged_stress.py for Docker
PProfizi ff4bc03
Fix 04-extrapolation_stress_3d.py for Docker
PProfizi 3dc9449
Revert "Update the 00-basic_plotting.py example to showcase as_linear…
PProfizi 0015031
Remove exposition of as_linear as an argument for public plotting met…
PProfizi 32ce764
Fix as_linear superfluous arguments
PProfizi e5ab073
Remove test of as_linear=False from test_mesh_bare_plot
PProfizi 8d3b230
Try fix elemental_nodal_to_nodal_fc.outputs[1].type_names
PProfizi 1fce8d7
Remove previous fix to 04-extrapolation_stress_3d.py (return_local_pa…
PProfizi 25985d3
Merge branch 'master' into fix/plot_as_linear
PProfizi b26f8f5
Revert "Try fix elemental_nodal_to_nodal_fc.outputs[1].type_names"
PProfizi 240156a
Merge branch 'master' into fix/plot_as_linear
PProfizi 1161439
Merge branch 'master' into fix/plot_as_linear
PProfizi 1682d64
Bypass bug on plot for 00-compute_and_average.py
PProfizi 1a63910
Try rescoping input nodes field in vtk_helper.py
PProfizi 1ce7669
Fix include_ids=True in MeshedRegion._as_vtk
PProfizi 83b1e48
Remove rescope of nodes in dpf_mesh_to_vtk_py
PProfizi 528ba75
Try updating grid holding onto coordinates field's data
PProfizi 8edde82
Fix MeshedRegion._as_vtk
PProfizi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@PProfizi as part of the development in TFS for the
mesh_to_pyvista
, I handled all quadrratic eltypes, not only quads and shells. Thus, ahex20
will be plotted as ahex8
, awedge15
as awedge6
and so on and so forth. This indeed makes the cells structure very light for solid meshes. Do you consider handling it in Python as well?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.
@rafacanton you are right, I should add those. I did limit myself to fixing what was already dealt with.
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.
@PProfizi We can cover it in a different PR, if you think that's better