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

Add a specialization of FieldTraits for VariableBlockVector

parent 7e400e26
No related branches found
No related tags found
1 merge request!563Add a specialization of FieldTraits for VariableBlockVector
Pipeline #70046 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