clawpack / visclaw

Clawpack visualization tools
http://www.clawpack.org
BSD 3-Clause "New" or "Revised" License
29 stars 48 forks source link

add plot_type 1d_pwconst option to frametools. #216

Closed rjleveque closed 7 years ago

rjleveque commented 7 years ago

Plot the solution as a piecewise constant on each grid cell, rather than with a piecewise linear function connecting cell averages at midpoints.

Useful for plotting 1d amr results in a way that better shows the different grid resolutions, e.g. the figure below for the Woodward-Colella blast problem (Ex. 15.1 in FVMHP), soon to be added to amrclaw/examples. wcblast

ketch commented 7 years ago

This is really nice.