From 0d7578f72b78c3dd70f98c2880ca4bee1fc26616 Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Fri, 15 Mar 2019 10:24:08 +0100
Subject: [PATCH] [type_traits] add is_yaspgrid

---
 dune/xt/grid/type_traits.hh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dune/xt/grid/type_traits.hh b/dune/xt/grid/type_traits.hh
index c0e2912e0..20ae46250 100644
--- a/dune/xt/grid/type_traits.hh
+++ b/dune/xt/grid/type_traits.hh
@@ -200,6 +200,15 @@ struct is_layer
 {};
 
 
+template <class T>
+struct is_yaspgrid : public std::false_type
+{};
+
+template <int dim, class Coordinates>
+struct is_yaspgrid<YaspGrid<dim, Coordinates>> : public std::true_type
+{};
+
+
 template <class T>
 struct is_alugrid : public std::false_type
 {};
-- 
GitLab