Commit c232f745 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

replaces template-alias by derived class

parent 7b1e194c
Pipeline #1246 passed with stage
in 18 minutes and 45 seconds
...@@ -83,12 +83,14 @@ namespace AMDiS ...@@ -83,12 +83,14 @@ namespace AMDiS
}; };
template <class BasisType, class VectorType = double> template <class BasisType, class ValueType = double>
struct DOFVector : public DOFVectorBase<BasisType, IstlVector<VectorType>> struct DOFVector : public DOFVectorBase<BasisType, IstlVector<ValueType>>
{ {
using Super = DOFVectorBase<BasisType, IstlVector<VectorType>>; using Super = DOFVectorBase<BasisType, IstlVector<ValueType>>;
using Super::DOFVectorBase;
using Super::operator=; using Super::operator=;
DOFVector(BasisType const& basis)
: Super(basis)
{}
}; };
......
...@@ -72,12 +72,14 @@ namespace AMDiS ...@@ -72,12 +72,14 @@ namespace AMDiS
}; };
template <class BasisType, class VectorType = double> template <class BasisType, class ValueType = double>
struct DOFVector : public DOFVectorBase<BasisType, MtlVector<VectorType>> struct DOFVector : public DOFVectorBase<BasisType, MtlVector<ValueType>>
{ {
using Super = DOFVectorBase<BasisType, MtlVector<VectorType>>; using Super = DOFVectorBase<BasisType, MtlVector<ValueType>>;
using Super::DOFVectorBase;
using Super::operator=; using Super::operator=;
DOFVector(BasisType const& basis)
: Super(basis)
{}
}; };
......
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