Commit 043a2d71 authored by Müller, Felix's avatar Müller, Felix

Remove make[Type]Writer functions

parent 5e00a895
......@@ -75,11 +75,4 @@ namespace AMDiS
bool animation_ = false;
};
/// Generator function for \ref BackupWriter
template <class SystemVector>
BackupWriter<SystemVector> makeBackupWriter(std::string const& name, std::shared_ptr<SystemVector> systemVector)
{
return {name, systemVector};
}
} // end namespace AMDiS
......@@ -82,14 +82,6 @@ namespace AMDiS
bool animation_ = false;
};
/// Generator function for \ref DuneVtkWriter
template <class GridView, class GridFunction>
DuneVtkWriter<GridView, GridFunction> makeDuneVtkWriter(std::string const& name, GridView const& gridView, GridFunction const& gridFunction)
{
return {name, gridView, gridFunction};
}
} // end namespace AMDiS
#endif // HAVE_DUNE_VTK
......@@ -70,14 +70,4 @@ namespace AMDiS
bool animation_ = false;
};
/// Generator function for \ref GmshWriter
template <class GridView>
GmshWriter<GridView> makeGmshWriter(std::string const& name, GridView const& gridView,
std::vector<int> const& physicalEntities = std::vector<int>(),
std::vector<int> const& physicalBoundaries = std::vector<int>())
{
return {name, gridView, physicalEntities, physicalBoundaries};
}
} // end namespace AMDiS
......@@ -114,12 +114,4 @@ namespace AMDiS
Dune::VTK::OutputType mode_ = Dune::VTK::ascii;
};
/// Generator function for \ref VTKWriter
template <class GridView, class GridFunction>
VTKWriter<GridView, GridFunction> makeVTKWriter(std::string const& name, GridView const& gridView, GridFunction const& gridFunction)
{
return {name, gridView, gridFunction};
}
} // end namespace AMDiS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment