dune-pdelab  2.4-dev
Classes | Public Member Functions | Public Attributes | List of all members
Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator > Struct Template Reference

#include <dune/pdelab/gridfunctionspace/vtk.hh>

Inheritance diagram for Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >:
Inheritance graph

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

VTKWritervtk_writer
 
shared_ptr< Data > data
 
const NameGenerator & name_generator
 
Data::Predicate predicate
 

Constructor & Destructor Documentation

template<typename VTKWriter, typename Data, typename NameGenerator>
Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_solution_to_vtk_writer_visitor ( VTKWriter vtk_writer_,
shared_ptr< Data >  data_,
const NameGenerator &  name_generator_,
const typename Data::Predicate &  predicate_ 
)
inline

Member Function Documentation

template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename DGF , typename TreePath >
void Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_to_vtk_writer ( const shared_ptr< DGF > &  dgf,
TreePath  tp 
)
inline
template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
void Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_vector_solution ( const LFS &  lfs,
TreePath  tp,
VectorGridFunctionSpaceTag  tag 
)
inline
template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
void Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::add_vector_solution ( const LFS &  lfs,
TreePath  tp,
GridFunctionSpaceTag  tag 
)
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.

template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
enable_if< !is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits<VTKWriter>::GridView >::value >::type Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::leaf ( const LFS &  lfs,
TreePath  tp 
)
inline
template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
enable_if< is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits<VTKWriter>::GridView >::value >::type Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::leaf ( const LFS &  lfs,
TreePath  tp 
)
inline
template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
enable_if< !is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits<VTKWriter>::GridView >::value >::type Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::post ( const LFS &  lfs,
TreePath  tp 
)
inline
template<typename VTKWriter, typename Data, typename NameGenerator>
template<typename LFS , typename TreePath >
enable_if< is_same< typename LFS::Traits::GridFunctionSpace::Traits::GridView, typename vtk_writer_traits<VTKWriter>::GridView >::value >::type Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::post ( const LFS &  lfs,
TreePath  tp 
)
inline

Member Data Documentation

template<typename VTKWriter, typename Data, typename NameGenerator>
shared_ptr<Data> Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::data
template<typename VTKWriter, typename Data, typename NameGenerator>
const NameGenerator& Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::name_generator
template<typename VTKWriter, typename Data, typename NameGenerator>
Data::Predicate Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::predicate
template<typename VTKWriter, typename Data, typename NameGenerator>
VTKWriter& Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::vtk_writer

The documentation for this struct was generated from the following file: