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

Merge branch 'issue/missing-fieldtraits-vbvector' into 'master'

Add a specialization of FieldTraits for VariableBlockVector

See merge request !563
parents 7e400e26 00294cf1
No related branches found
No related tags found
1 merge request!563Add a specialization of FieldTraits for VariableBlockVector
Pipeline #70189 passed
......@@ -11,6 +11,7 @@
#include <iterator>
#include <memory>
#include <dune/common/ftraits.hh>
#include <dune/common/iteratorfacades.hh>
#include "istlexception.hh"
#include "bvector.hh"
......@@ -774,6 +775,18 @@ namespace Dune {
typename std::allocator_traits<A>::template rebind_alloc<window_type> windowAllocator_;
};
/** @addtogroup DenseMatVec
@{
*/
template<class B, class A>
struct FieldTraits< VariableBlockVector<B, A> >
{
typedef typename FieldTraits<B>::field_type field_type;
typedef typename FieldTraits<B>::real_type real_type;
};
/**
@}
*/
/** @} end documentation */
......
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