Generalize the VtkWriter and DuneVtkWriter to accept general gridfunction instead of just DiscreteFunction.
VtkWriter
DuneVtkWriter
DiscreteFunction