Commit 0b2ef655 authored by Santiago Ospina's avatar Santiago Ospina
parent fb7aac34
......@@ -25,7 +25,7 @@
* `VTKAdapters` are now managed with `shared_ptr` instead of references.
* `OutputWriter` class is deprecated in favor of an minimal extension of the
usual `VTKSequenceWriter` for grid functions called
`GridFucntionVTKSequenceWriter`.
`GridFunctionVTKSequenceWriter`.
### Fixed
* Removed VTK output from `dorie_mass_conservation` executable, which would
......
......@@ -24,7 +24,7 @@ namespace Dorie{
* @tparam GV GridView of the dune grid
*/
template<class GV>
class GridFucntionVTKSequenceWriter : public Dune::VTKSequenceWriter<GV>
class GridFunctionVTKSequenceWriter : public Dune::VTKSequenceWriter<GV>
{
public:
// export constructors of vtk sequence writer
......@@ -42,7 +42,7 @@ public:
void addVertexData(std::shared_ptr<GF> gf_ptr, std::string name)
{
static_assert(std::is_same<typename GF::Traits::GridViewType,GV>::value,
"GridFucntionVTKSequenceWriter only works with only one GridView type.");
"GridFunctionVTKSequenceWriter only works with only one GridView type.");
auto vtk_gf_ptr = Dune::PDELab::makeVTKGridFunctionAdapter(gf_ptr,name);
Dune::VTKSequenceWriter<GV>::addVertexData(vtk_gf_ptr);
......@@ -60,7 +60,7 @@ public:
void addCellData(std::shared_ptr<GF> gf_ptr, std::string name)
{
static_assert(std::is_same<typename GF::Traits::GridViewType,GV>::value,
"GridFucntionVTKSequenceWriter only works with only one GridView type.");
"GridFunctionVTKSequenceWriter only works with only one GridView type.");
auto vtk_gf_ptr = Dune::PDELab::makeVTKGridFunctionAdapter(gf_ptr,name);
Dune::VTKSequenceWriter<GV>::addCellData(vtk_gf_ptr);
......
......@@ -125,7 +125,7 @@ struct RichardsSimulationTraits : public BaseTraits
// -- Utility Class Definitions -- //
/// VTK Output writer base class
using Writer = Dune::Dorie::GridFucntionVTKSequenceWriter<GV>;
using Writer = Dune::Dorie::GridFunctionVTKSequenceWriter<GV>;
/// Grid Adaptivity Handler base class
using AdaptivityHandler = Dune::Dorie::AdaptivityHandlerBase<BaseTraits,GFS,Parameters,FlowBoundary,U,order>;
/// Factory for creating the AdaptivityHandler
......
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