AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
FileWriterCreator< SystemVector > Class Template Reference

Creator class for filewriters depending on a given type name. More...

#include <FileWriterCreator.hpp>

Public Member Functions

 FileWriterCreator (std::shared_ptr< SystemVector > systemVector, std::shared_ptr< BoundaryManager< Grid > > boundaryManager=nullptr)
 Constructor. Stores the pointer to the systemVector and to the (optional) boundaryManager.
 
template<class... Indices>
std::unique_ptr< FileWriterInterfacecreate (std::string type, std::string prefix, Indices... ii) const
 Create a new FileWriter of type type More...
 

Detailed Description

template<class SystemVector>
class AMDiS::FileWriterCreator< SystemVector >

Creator class for filewriters depending on a given type name.

Template Parameters
SystemVectorType of the DOFVector to write with the filewriter

Member Function Documentation

◆ create()

std::unique_ptr< FileWriterInterface > create ( std::string  type,
std::string  prefix,
Indices...  ii 
) const
inline

Create a new FileWriter of type type

Parameters
typeString representing the type of the writer. One of {vtk, dune-vtk, gmsh, backup}
prefixThe initfile prefix tp configure the filewriter
ii...Indices of the treepath to the component of the systemVector to be handled by the fileWriter.

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