Commit e954822c authored by Hanchuan Wu's avatar Hanchuan Wu
Browse files

Merge branch 'feature/variables-backend-generalize' into 'master'

[variablesbackend] Generalize vector dofbackend

Closes #1014

See merge request !2564
parents 44b0c926 adad6c94
......@@ -80,13 +80,17 @@ public:
/*!
* \ingroup Common
* \brief Specialization providing operations for block vectors
* \tparam Vector a type that is
* - default-constructible
* - has size() member
* - has resize(0) member
* - has axpy(a, x) member
*/
template<class BT>
class DofBackend<Dune::BlockVector<BT>, false>
template<class Vector>
class DofBackend<Vector, false>
{
public:
using DofVector = Dune::BlockVector<BT>; //!< the type of the dofs parametrizing the variables object
using DofVector = Vector; //!< the type of the dofs parametrizing the variables object
using SizeType = std::size_t;
//! Return the number of entries in the dof vector
......
Supports Markdown
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