A multidomain wrapper for multiple vtk output modules. More...
#include <dumux/multidomain/io/vtkoutputmodule.hh>
A multidomain wrapper for multiple vtk output modules.
MDTraits | The multidomain traits |
Module | An output module class template that takes GridVariables and SolutionVector as arguments |
Public Types | |
template<std::size_t i> | |
using | Type = VtkOutputModule< i > |
export base types of the stored type More... | |
template<std::size_t i> | |
using | PtrType = std::shared_ptr< Type< i > > |
export pointer types the stored type More... | |
Public Member Functions | |
MultiDomainVtkOutputModule ()=default | |
The default constructor. More... | |
MultiDomainVtkOutputModule (MDGridVars &&gridVars, const MDSolutionVector &sol, const std::array< std::string, numSubDomains > &name) | |
Construct the vtk output modules. More... | |
void | initDefaultOutputFields () |
initialized all vtkoutput modules with the models default output fields More... | |
void | write (double t, Dune::VTK::OutputType type=Dune::VTK::ascii) |
Write the data for this timestep to file for all output modules. More... | |
template<std::size_t i> | |
const Type< i > & | operator[] (Dune::index_constant< i > id) const |
return the output module for domain with index i More... | |
template<std::size_t i> | |
Type< i > & | operator[] (Dune::index_constant< i > id) |
return the output module for domain with index i More... | |
template<std::size_t i> | |
PtrType< i > | get (Dune::index_constant< i > id=Dune::index_constant< i >{}) |
return the vtkoutput module for domain with index i More... | |
template<std::size_t i> | |
void | set (PtrType< i > p, Dune::index_constant< i > id=Dune::index_constant< i >{}) |
set the pointer for sub domain i More... | |
using Dumux::MultiDomainVtkOutputModule< MDTraits, Module >::PtrType = std::shared_ptr<Type<i> > |
export pointer types the stored type
using Dumux::MultiDomainVtkOutputModule< MDTraits, Module >::Type = VtkOutputModule<i> |
export base types of the stored type
|
default |
The default constructor.
|
inline |
Construct the vtk output modules.
gridVars | a tuple of grid variables |
sol | the multidomain solution vector |
name | the base name for the vtk output |
|
inline |
return the vtkoutput module for domain with index i
|
inline |
initialized all vtkoutput modules with the models default output fields
|
inline |
return the output module for domain with index i
|
inline |
return the output module for domain with index i
|
inline |
set the pointer for sub domain i
|
inline |
Write the data for this timestep to file for all output modules.