Method clear on DiscreteFunctions and LocalFunctions.
DiscreteFunctions and LocalFunctions have a method clear that sets all dofs to zero. This is very convenient. std::vector also has this method but is does something slightly differnt, it also removes all elements. However, Dune::DenseVector, and therefore Dune::DynVector and Dune::FieldVector don't have this method because of that difference to std::vector.
So the questions is if the method clear should be renamed to avoid confusion?
Edited by Robert K