Commit ae454138 authored by Carsten Gräser's avatar Carsten Gräser

[cleanup] Remove deprecated Dune::*Function base class

parent 95f01a58
......@@ -11,8 +11,6 @@
#include <vector>
#include <map>
#include <dune/common/function.hh>
#include <dune/geometry/referenceelements.hh>
#include <dune/fufem/functions/cachedcomponentwrapper.hh>
......@@ -29,9 +27,7 @@
* \tparam LocalBasis The local basis type
*/
template <class Entity, class FE, class Base
=typename Dune::Function<
const typename FE::Traits::LocalBasisType::Traits::DomainType&,
typename FE::Traits::LocalBasisType::Traits::RangeType&> >
= typename FE::Traits::LocalBasisType::Traits>
class AlienElementLocalBasisFunction :
public CachedComponentWrapper<AlienElementLocalBasisFunction<Entity, FE, Base>,
typename std::vector<typename FE::Traits::LocalBasisType::Traits::RangeType>,
......
......@@ -8,8 +8,6 @@
@author graeser@math.fu-berlin.de
*/
#include <dune/common/function.hh>
#include <dune/fufem/functions/localbasisjacobianfunction.hh>
......@@ -18,9 +16,7 @@
* \tparam LocalBasis The local basis type
*/
template <class FE, class Base
=typename Dune::Function<
const typename FE::Traits::LocalBasisType::Traits::DomainType&,
typename FE::Traits::LocalBasisType::Traits::RangeType&> >
= typename FE::Traits::LocalBasisType::Traits>
class LocalBasisDerivativeFunction :
public Base
{
......
......@@ -10,19 +10,22 @@
#include <vector>
#include <dune/common/function.hh>
#include <dune/fufem/functions/cachedcomponentwrapper.hh>
namespace Impl {
template<class FE>
struct LFEJacobianFunctionTraits {
using DomainType = typename FE::Traits::LocalBasisType::Traits::DomainType;
using RangeType = typename FE::Traits::LocalBasisType::Traits::JacobianType;
};
}
/** \brief Wrap partial derivative of local basis functions
*
* \tparam FE The local finite element type
*/
template <class FE, class Base
=typename Dune::Function<
const typename FE::Traits::LocalBasisType::Traits::DomainType&,
typename FE::Traits::LocalBasisType::Traits::JacobianType&> >
= Impl::LFEJacobianFunctionTraits<FE>>
class LocalBasisJacobianFunction :
public CachedComponentWrapper<
LocalBasisJacobianFunction<FE, Base>,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment