Class template Dune::XT::Grid::PgfOutput

template<class GridType>
class Dune::XT::Grid::PgfOutput<GridType>

Provider of three types of latex drawings for Grid

Method Dune::XT::Grid::PgfOutput::leaf

template<class GridType>
void Dune::XT::Grid::PgfOutput<GridType>::leaf(std::ostream &file, const bool includable = true) const

print a tex representation of any given 2D grid leaf level to file

Method Dune::XT::Grid::PgfOutput::stacked

template<class GridType>
void Dune::XT::Grid::PgfOutput<GridType>::stacked(std::ostream &file, const int refineLevel, const bool includable = true)

refine given grid refineLevel times and draw all entities into the same figure

:param includable: true: only output tikzpicture environment false: wrap tikzpicture environment in complete document :param refineLevel: passed to Grid::globalRefine :param file: the output stream

Method Dune::XT::Grid::PgfOutput::refineseries

template<class GridType>
void Dune::XT::Grid::PgfOutput<GridType>::refineseries(std::ostream &file, const int refineLevel, const bool includable = true)

refine given grid refineLevel times and create a subfigure for each level

The written latex code allows tweaking by changing values of gridplotscale, gridcoordscale and gridlinewidth

:param includable: true: only output figure environment false: wrap figure environment in complete document :param refineLevel: passed to Grid::globalRefine :param file: the output stream

Constructor Dune::XT::Grid::PgfOutput::PgfOutput<GridType>

template<>
template<class GridType>
explicit Dune::XT::Grid::PgfOutput<GridType>::PgfOutput<GridType>(GridType &grid)

No documentation provided.

Field Dune::XT::Grid::PgfOutput::grid_

GridType &Dune::XT::Grid::PgfOutput::grid_

No documentation provided.