Commit b8b28c0a authored by Andreas Dedner's avatar Andreas Dedner

[!312] remove dimRange member in ConstLocalFunction

Merge branch 'fix/dimrange' into 'master'

ref:dune-fem/dune-fem When RangeType is e.g. a FieldMatrix, then
RangeType::dimension does not exist.

See discussion in
[7d43014a (comment 55455)]

See merge request [!312]

  [7d43014a (comment 55455)]:
    7d43014a (comment 55455)
  [!312]: gitlab.dune-project.org/dune-fem/dune-fem/merge_requests/312
parents 7d43014a a0af8b9b
Pipeline #18138 passed with stage
in 37 minutes and 3 seconds
......@@ -300,8 +300,6 @@ namespace Dune
typedef typename GF::LocalFunctionType::JacobianRangeType JacobianRangeType;
typedef typename GF::LocalFunctionType::HessianRangeType HessianRangeType;
static const int dimRange = RangeType::dimension;
explicit Type ( const GridFunctionType &gridFunction )
: GridFunctionType::LocalFunctionType( gridFunction ),
gridFunction_( gridFunction )
......@@ -369,7 +367,6 @@ namespace Dune
typedef typename GridFunctionDecayType::JacobianRangeType JacobianRangeType;
typedef typename GridFunctionDecayType::HessianRangeType HessianRangeType;
typedef typename GridFunctionDecayType::FunctionSpaceType FunctionSpaceType;
static const int dimRange = RangeType::dimension;
template<class Arg, std::enable_if_t<std::is_constructible<GF, Arg>::value, int> = 0>
explicit Type ( Arg&& gridFunction )
......
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