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< FileWriterInterface > | create (std::string type, std::string prefix, Indices... ii) const |
Create a new FileWriter of type type More... | |
Creator class for filewriters depending on a given type name.
| SystemVector | Type of the DOFVector to write with the filewriter |
|
inline |
Create a new FileWriter of type type
| type | String representing the type of the writer. One of {vtk, dune-vtk, gmsh, backup} |
| prefix | The initfile prefix tp configure the filewriter |
| ii... | Indices of the treepath to the component of the systemVector to be handled by the fileWriter. |
References AMDiS::error_exit(), and AMDiS::valueOf().
Referenced by ProblemStat< Traits >::restore().