Skip to content
Snippets Groups Projects
Commit 230d9786 authored by Robert K's avatar Robert K
Browse files

use InstationaryFunction.

parent bbdf633e
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
#include <dune/common/version.hh>
#include <dune/common/exceptions.hh>
#include <dune/fem/function/common/timedependentfunction.hh>
#include <dune/fem/function/common/instationary.hh>
#include <dune/fem/misc/gridsolution.hh>
namespace Dune {
......@@ -47,12 +47,13 @@ protected:
}
public:
typedef Fem :: TimeDependentFunction< ThisType > TimeDependentFunctionType;
typedef Fem :: InstationaryFunction< ThisType, Fem::__InstationaryFunction::HoldReference > InstationaryFunctionType;
typedef InstationaryFunctionType TimeDependentFunctionType;
//! turn timedependent function into function by fixing time
TimeDependentFunctionType fixedTimeFunction( const double time ) const
InstationaryFunctionType fixedTimeFunction( const double time ) const
{
return TimeDependentFunctionType( *this, time );
return InstationaryFunctionType( *this, time );
}
// return prefix for data loops
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment