Skip to content

Conversation

danshapero
Copy link
Contributor

Fixes for:

  • a bug in FunctionPlotter that was giving incorrect plot results for functions on extruded meshes
  • default shading when using tripcolor with DG0 does the wrong thing when you try to make a movie
  • unclear error when you try to do triplot on an extruded mesh

.cell_node_list doesn't give the complete result for extruded meshes
with multiple layers, it relies on the fact that you can increment it to
get the node list for the remaining layers; the result is that you still
end up plotting the field, but only the lowest layer. Fixes the
accounting for multiple layers.
Using flat shading with DG0 functions messes up the indexing when you
try to make a movie; we actually want gouraud all the time.
@danshapero danshapero force-pushed the dan/extruded-plotting-fixes branch from 99c96a8 to 4e6c238 Compare September 9, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant