version 3.10-dev
vector.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_TYPETRAITS_VECTOR_HH
13#define DUMUX_TYPETRAITS_VECTOR_HH
14
15#include <type_traits>
16#include <dune/istl/multitypeblockvector.hh>
17
18
19namespace Dumux {
20
22 template<class T> struct isMultiTypeBlockVector : public std::false_type {};
23
25 template<class... T>
26 struct isMultiTypeBlockVector<Dune::MultiTypeBlockVector<T...> > : public std::true_type {};
27
28} // end namespace Dumux
29
30#endif
Definition: adapt.hh:17
Definition: common/pdesolver.hh:24
Helper type to determine whether a given type is a Dune::MultiTypeBlockVector.
Definition: vector.hh:22