]> https://gitweb.dealii.org/ - dealii.git/commit
Avoid writing colinear points in GridOut::write_gnuplot.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 29 Apr 2018 18:08:50 +0000 (14:08 -0400)
committerDavid Wells <drwells@vt.edu>
Sun, 20 May 2018 20:59:34 +0000 (16:59 -0400)
commita2d7de113d0f57398e167878892090d00db884fe
tree9b69ba6a8be0f9fd0a3b55c924d208cd660f72e0
parent9074eae88a7e3dc91aaa165f62a7e01bc797a4c8
Avoid writing colinear points in GridOut::write_gnuplot.

GridOut::write_gnuplot has an option where, for plotting curved grids, it can
plot multiple line segments per face to give the illusion of a cell with curved
faces. This procedure creates massive output files since every face of every
corresponds to many individual line segments.

This commit implements a compression scheme where we do not output intermediate
points that are colinear. This lowers the number of points in a polar grid
output file by about 50% (i.e., the radial cell faces are not curved and can be
plotted with two points instead of perhaps five or six; same for the interior
cell faces).
source/grid/grid_out.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.