Currently, the class ResultFunction inherits from Dune::VTKFunction<typename FE::GridView> where the method precision() sets the default to float32. This method should also be included in ResultFunction such that the precision can be decided by the user and perhaps a better default here would be float64. So something like this can be added and perhaps can be generalized to be compatible with dune-vtk:
Currently, the
class ResultFunction
inherits fromDune::VTKFunction<typename FE::GridView>
where the methodprecision()
sets the default tofloat32
. This method should also be included inResultFunction
such that the precision can be decided by the user and perhaps a better default here would befloat64
. So something like this can be added and perhaps can be generalized to be compatible withdune-vtk
: