Skip to content
Snippets Groups Projects
Commit a7ae9029 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/dofvector_template_argument_deduction' into 'develop'

Issue/dofvector template argument deduction

See merge request spraetor/dune-amdis!30
parents af1bf33d c232f745
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,16 @@ namespace AMDiS
};
template <class BasisType, class VectorType = double>
using DOFVector = DOFVectorBase<BasisType, IstlVector<VectorType>>;
template <class BasisType, class ValueType = double>
struct DOFVector : public DOFVectorBase<BasisType, IstlVector<ValueType>>
{
using Super = DOFVectorBase<BasisType, IstlVector<ValueType>>;
using Super::operator=;
DOFVector(BasisType const& basis)
: Super(basis)
{}
};
/// Constructor a dofvector from given basis and name
template <class ValueType = double, class Basis>
......
......@@ -72,8 +72,15 @@ namespace AMDiS
};
template <class BasisType, class VectorType = double>
using DOFVector = DOFVectorBase<BasisType, MtlVector<VectorType>>;
template <class BasisType, class ValueType = double>
struct DOFVector : public DOFVectorBase<BasisType, MtlVector<ValueType>>
{
using Super = DOFVectorBase<BasisType, MtlVector<ValueType>>;
using Super::operator=;
DOFVector(BasisType const& basis)
: Super(basis)
{}
};
/// Constructor a dofvector from given basis and name
......
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