dune-pdelab
2.4-dev
|
#include <dune/pdelab/gridfunctionspace/vtk.hh>
Classes | |
struct | VisitChild |
Public Member Functions | |
template<typename DGF , typename TreePath > | |
void | add_to_vtk_writer (const shared_ptr< DGF > &dgf, TreePath tp) |
template<typename LFS , typename TreePath > | |
void | add_vector_solution (const LFS &lfs, TreePath tp, VectorGridFunctionSpaceTag tag) |
Tag dispatch-based switch that creates a vector-valued function for a VectorGridFunctionSpace. More... | |
template<typename LFS , typename TreePath > | |
void | add_vector_solution (const LFS &lfs, TreePath tp, GridFunctionSpaceTag tag) |
Tag dispatch-based switch that creates a vector-valued function for a VectorGridFunctionSpace. More... | |
template<typename LFS , typename TreePath > | |
enable_if< !is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits< VTKWriter >::GridView >::value >::type | post (const LFS &lfs, TreePath tp) |
template<typename LFS , typename TreePath > | |
enable_if< !is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits< VTKWriter >::GridView >::value >::type | leaf (const LFS &lfs, TreePath tp) |
template<typename LFS , typename TreePath > | |
enable_if< is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits< VTKWriter >::GridView >::value >::type | post (const LFS &lfs, TreePath tp) |
Handle VectorGridFunctionSpace components in here. More... | |
template<typename LFS , typename TreePath > | |
enable_if< is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits< VTKWriter >::GridView >::value >::type | leaf (const LFS &lfs, TreePath tp) |
Create a standard leaf function for leaf GridFunctionSpaces. More... | |
add_solution_to_vtk_writer_visitor (VTKWriter &vtk_writer_, shared_ptr< Data > data_, const NameGenerator &name_generator_, const typename Data::Predicate &predicate_) | |
Public Attributes | |
VTKWriter & | vtk_writer |
shared_ptr< Data > | data |
const NameGenerator & | name_generator |
Data::Predicate | predicate |
|
inline |
|
inline |
Helper function for extracting (or building) the component name and adding the component to the VTKWriter.
References Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::name_generator, and Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::vtk_writer.
Referenced by Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_vector_solution(), and Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::leaf().
|
inline |
Tag dispatch-based switch that creates a vector-valued function for a VectorGridFunctionSpace.
This version handles an actual VectorGridFunctionSpace.
References Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_to_vtk_writer(), and Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::data.
Referenced by Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::post().
|
inline |
Tag dispatch-based switch that creates a vector-valued function for a VectorGridFunctionSpace.
This is the default version for different types of spaces that does nothing.
|
inline |
|
inline |
Create a standard leaf function for leaf GridFunctionSpaces.
References Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_to_vtk_writer(), Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::data, and Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::predicate.
|
inline |
|
inline |
shared_ptr<Data> Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::data |
const NameGenerator& Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::name_generator |
Data::Predicate Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::predicate |
VTKWriter& Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::vtk_writer |