6 #include <dune/common/fmatrix.hh> 7 #include <dune/common/fvector.hh> 9 #include <amdis/common/Tags.hpp> 14 template <
class T,
class =
void>
29 template <
class K,
int SIZE>
41 template <
class K,
int ROWS,
int COLS>
63 constexpr
bool Scalar = std::is_same_v<ValueCategory_t<T>,
tag::scalar>;
66 constexpr
bool Vector = std::is_same_v<ValueCategory_t<T>,
tag::vector>;
69 constexpr
bool Matrix = std::is_same_v<ValueCategory_t<T>,
tag::matrix>;
74 constexpr
bool isVector(V
const&)
76 static_assert(Category::Vector<V>,
"");
77 return Category::Vector<V>;
81 constexpr
bool isNotVector(V
const&)
83 static_assert(!Category::Vector<V>,
"");
84 return !Category::Vector<V>;
Definition: FieldMatVec.hpp:12
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
Category of type T, e.g. scalar, vector matrix, specified by a tag.
Definition: ValueCategory.hpp:15