dune-pdelab 2.7-git
Loading...
Searching...
No Matches
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 std::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.
 
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.
 
template<typename LFS , typename TreePath >
std::enable_if<!std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_writer_traits< VTKWriter >::GridView >::value >::type post (const LFS &lfs, TreePath tp)
 
template<typename LFS , typename TreePath >
std::enable_if<!std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_writer_traits< VTKWriter >::GridView >::value >::type leaf (const LFS &lfs, TreePath tp)
 
template<typename LFS , typename TreePath >
std::enable_if< std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_writer_traits< VTKWriter >::GridView >::value >::type post (const LFS &lfs, TreePath tp)
 Handle VectorGridFunctionSpace components in here.
 
template<typename LFS , typename TreePath >
std::enable_if< std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_writer_traits< VTKWriter >::GridView >::value >::type leaf (const LFS &lfs, TreePath tp)
 Create a standard leaf function for leaf GridFunctionSpaces.
 
 add_solution_to_vtk_writer_visitor (VTKWriter &vtk_writer_, std::shared_ptr< Data > data_, const NameGenerator &name_generator_, const typename Data::Predicate &predicate_)
 

Public Attributes

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

Constructor & Destructor Documentation

◆ add_solution_to_vtk_writer_visitor()

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_,
std::shared_ptr< Data >  data_,
const NameGenerator &  name_generator_,
const typename Data::Predicate &  predicate_ 
)
inline

Member Function Documentation

◆ add_to_vtk_writer()

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 std::shared_ptr< DGF > &  dgf,
TreePath  tp 
)
inline

Helper function for extracting (or building) the component name and adding the component to the VTKWriter.

◆ add_vector_solution() [1/2]

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.

◆ add_vector_solution() [2/2]

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

Tag dispatch-based switch that creates a vector-valued function for a VectorGridFunctionSpace.

This version handles an actual VectorGridFunctionSpace.

◆ leaf() [1/2]

template<typename VTKWriter , typename Data , typename NameGenerator >
template<typename LFS , typename TreePath >
std::enable_if<!std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_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

◆ leaf() [2/2]

template<typename VTKWriter , typename Data , typename NameGenerator >
template<typename LFS , typename TreePath >
std::enable_if< std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_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

Create a standard leaf function for leaf GridFunctionSpaces.

◆ post() [1/2]

template<typename VTKWriter , typename Data , typename NameGenerator >
template<typename LFS , typename TreePath >
std::enable_if<!std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_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

◆ post() [2/2]

template<typename VTKWriter , typename Data , typename NameGenerator >
template<typename LFS , typename TreePath >
std::enable_if< std::is_same< typenameLFS::Traits::GridFunctionSpace::Traits::GridView, typenamevtk_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

Handle VectorGridFunctionSpace components in here.

Member Data Documentation

◆ data

template<typename VTKWriter , typename Data , typename NameGenerator >
std::shared_ptr<Data> Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::data

◆ name_generator

template<typename VTKWriter , typename Data , typename NameGenerator >
const NameGenerator& Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::name_generator

◆ predicate

template<typename VTKWriter , typename Data , typename NameGenerator >
Data::Predicate Dune::PDELab::vtk::add_solution_to_vtk_writer_visitor< VTKWriter, Data, NameGenerator >::predicate

◆ vtk_writer

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: