diff --git a/dune/gfe/cosseratvtkwriter.hh b/dune/gfe/cosseratvtkwriter.hh index abe48b260d2b9bc6d8fb6839c644d0d8d4441261..ee20d468d3f64745681e89044d6a150a5875a3ba 100644 --- a/dune/gfe/cosseratvtkwriter.hh +++ b/dune/gfe/cosseratvtkwriter.hh @@ -31,9 +31,9 @@ class CosseratVTKWriter v1Embedded[i] = v1[i].globalCoordinates(); // Interpolate - auto function = Dune::Functions::makeDiscreteGlobalBasisFunction<Dune::FieldVector<double,7> >(basis1, Dune::TypeTree::hybridTreePath(), v1Embedded); + auto function = Dune::Functions::makeDiscreteGlobalBasisFunction<Dune::FieldVector<double,7> >(basis1, v1Embedded); std::vector<Dune::FieldVector<double,7> > v2Embedded; - Dune::Functions::interpolate(basis2, Dune::TypeTree::hybridTreePath(), v2Embedded, function); + Dune::Functions::interpolate(basis2, v2Embedded, function); // Copy back from R^7 into RigidBodyMotions v2.resize(v2Embedded.size()); @@ -51,9 +51,9 @@ class CosseratVTKWriter v1Embedded[i] = v1[i].globalCoordinates(); // Interpolate - auto function = Dune::Functions::makeDiscreteGlobalBasisFunction<Dune::FieldVector<double,3> >(basis1, Dune::TypeTree::hybridTreePath(), v1Embedded); + auto function = Dune::Functions::makeDiscreteGlobalBasisFunction<Dune::FieldVector<double,3> >(basis1, v1Embedded); std::vector<Dune::FieldVector<double,3> > v2Embedded; - Dune::Functions::interpolate(basis2, Dune::TypeTree::hybridTreePath(), v2Embedded, function); + Dune::Functions::interpolate(basis2, v2Embedded, function); // Copy back from FieldVector to RealTuple v2.resize(v2Embedded.size()); diff --git a/src/gradient-flow.cc b/src/gradient-flow.cc index 0ada4c171bd8e209fb95163e7a9d887552fc3a79..3879b56e0fd23777645367382f2b99439832b2e3 100644 --- a/src/gradient-flow.cc +++ b/src/gradient-flow.cc @@ -242,7 +242,6 @@ int main (int argc, char *argv[]) try xEmbedded[i] = x[i].globalCoordinates(); auto xFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<TargetSpace::CoordinateType>(feBasis, - TypeTree::hybridTreePath(), xEmbedded); SubsamplingVTKWriter<GridType::LeafGridView> vtkWriter(grid->leafGridView(),refinementLevels(0)); @@ -282,7 +281,6 @@ int main (int argc, char *argv[]) try xEmbedded[i] = x[i].globalCoordinates(); auto xFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<TargetSpace::CoordinateType>(feBasis, - TypeTree::hybridTreePath(), xEmbedded); SubsamplingVTKWriter<GridType::LeafGridView> vtkWriter(grid->leafGridView(),refinementLevels(0)); diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc index 772fc06e6103f0b407841c6a42b496596f107bd5..3cfa88935e56fe0dbc0d73e4d15b308097622056 100644 --- a/src/harmonicmaps.cc +++ b/src/harmonicmaps.cc @@ -108,7 +108,7 @@ void fillVTKWriter(Writer& vtkWriter, const Basis& feBasis, const SolutionType& } else { - auto xFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<TargetSpace::CoordinateType>(feBasis,TypeTree::hybridTreePath(),xEmbedded); + auto xFunction = Dune::Functions::makeDiscreteGlobalBasisFunction<TargetSpace::CoordinateType>(feBasis,xEmbedded); vtkWriter.addVertexData(xFunction, VTK::FieldInfo("orientation", VTK::FieldInfo::Type::vector, xEmbedded[0].size()));