Skip to content
Snippets Groups Projects
Commit 39d35df9 authored by Tim Keil's avatar Tim Keil
Browse files

[derived] move and update to introduce bind of functions

derived -> base/derived
parent 9ee708da
No related branches found
No related tags found
No related merge requests found
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
// Rene Milk (2015 - 2018) // Rene Milk (2015 - 2018)
// Tobias Leibner (2017) // Tobias Leibner (2017)
#ifndef DUNE_XT_FUNCTIONS_DERIVED_HH #ifndef DUNE_XT_FUNCTIONS_BASE_DERIVED_HH
#define DUNE_XT_FUNCTIONS_DERIVED_HH #define DUNE_XT_FUNCTIONS_BASE_DERIVED_HH
#if 0
#include <memory> #include <memory>
#include <type_traits> #include <type_traits>
...@@ -22,8 +22,10 @@ ...@@ -22,8 +22,10 @@
#include <dune/xt/common/exceptions.hh> #include <dune/xt/common/exceptions.hh>
#include <dune/xt/common/memory.hh> #include <dune/xt/common/memory.hh>
#include <dune/xt/functions/interfaces.hh> //#include <dune/xt/functions/interfaces.hh>
#if 0
namespace Dune { namespace Dune {
namespace XT { namespace XT {
namespace Functions { namespace Functions {
...@@ -44,7 +46,7 @@ class SelectDerived ...@@ -44,7 +46,7 @@ class SelectDerived
public: public:
typedef typename FunctionType::EntityType E; typedef typename FunctionType::EntityType E;
typedef typename FunctionType::DomainFieldType D; typedef typename FunctionType::DomainFieldType D;
static const size_t d = FunctionType::dimDomain; static const size_t d = FunctionType::domain_dim;
typedef typename FunctionType::RangeFieldType R; typedef typename FunctionType::RangeFieldType R;
private: private:
...@@ -66,8 +68,8 @@ private: ...@@ -66,8 +68,8 @@ private:
}; };
public: public:
static const size_t r = Dimension<d, F::dimRange, F::dimRangeCols, derivative>::r; static const size_t r = Dimension<d, F::range_dim, F::range_dim_cols, derivative>::r;
static const size_t rC = Dimension<d, F::dimRange, F::dimRangeCols, derivative>::rC; static const size_t rC = Dimension<d, F::range_dim, F::range_dim_cols, derivative>::rC;
}; // class SelectDerived }; // class SelectDerived
public: public:
......
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