Commit a9673564 authored by Oliver Sander's avatar Oliver Sander

replace deprecated method operator[] by method corner()

[[Imported from SVN: r218]]
parent 3ba96aed
......@@ -40,7 +40,7 @@ void vertexdata (const G& grid, const F& f)
it!=grid.template leafend<dim>(); ++it)
{
// evaluate functor and store value
c[mapper.map(*it)] = f(it->geometry()[0]);
c[mapper.map(*it)] = f(it->geometry().corner(0));
}
// generate a VTK file
......
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