Creator class for filewriters depending on a given type name.
More...
#include <FileWriterCreator.hpp>
|
| 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...
|
|
template<class SystemVector>
class AMDiS::FileWriterCreator< SystemVector >
Creator class for filewriters depending on a given type name.
- Template Parameters
-
SystemVector | Type of the DOFVector to write with the filewriter |
◆ create()
std::unique_ptr< FileWriterInterface > create |
( |
std::string |
type, |
|
|
std::string |
prefix, |
|
|
Indices... |
ii |
|
) |
| const |
|
inline |
Create a new FileWriter of type type
- Parameters
-
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. |
The documentation for this class was generated from the following file: