From 1d03791895260948dc8b74fc660c0d0123e4f93a Mon Sep 17 00:00:00 2001 From: Robert K <robertk@posteo.org> Date: Fri, 15 May 2015 10:27:52 +0200 Subject: [PATCH] use InstationaryFunction. --- dune/fem-dg/test/dataio/checkpointing.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/fem-dg/test/dataio/checkpointing.hh b/dune/fem-dg/test/dataio/checkpointing.hh index a1e6a7e4..14123fb9 100644 --- a/dune/fem-dg/test/dataio/checkpointing.hh +++ b/dune/fem-dg/test/dataio/checkpointing.hh @@ -223,7 +223,7 @@ struct CheckPointingStepper : public AlgorithmBase< StepperTraits< GridImp, Prob void step(TimeProviderType& tp, SolverMonitorType& monitor ) { // do new projection - typedef Dune::Fem::TimeDependentFunction< InitialDataType > FunctionType; + typedef Dune::Fem::InstationaryFunction< InitialDataType, Dune::Fem::__InstationaryFunction::HoldReference > FunctionType; FunctionType function( problem(), tp.time() ); Dune::Fem::L2Projection< FunctionType, DiscreteFunctionType > l2pro; l2pro(function, solution_); @@ -239,7 +239,7 @@ struct CheckPointingStepper : public AlgorithmBase< StepperTraits< GridImp, Prob { L2ErrorNoComm< DiscreteFunctionType > l2norm; // Compute L2 error of discretized solution ... - typedef Dune::Fem::TimeDependentFunction< InitialDataType > FunctionType; + typedef Dune::Fem::InstationaryFunction< InitialDataType, Dune::Fem::__InstationaryFunction::HoldReference > FunctionType; FunctionType function( problem(), tp.time() ); return l2norm.norm( function, u ); } -- GitLab