version 3.8
gridsupportsconcavecorners.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_DISCRETIZATION_FACECENTERED_STAGGERED_GRID_SUPPORTS_CONCAVE_CORNERS_HH
13#define DUMUX_DISCRETIZATION_FACECENTERED_STAGGERED_GRID_SUPPORTS_CONCAVE_CORNERS_HH
14
15#include <type_traits>
16
17// forward declare
18namespace Dune {
19
20template<int dim, class Coordinates>
21class YaspGrid;
22
23}
24
25namespace Dumux {
26
30template<class T>
31struct GridSupportsConcaveCorners : public std::true_type {};
32
33template<int dim, class Coords>
34struct GridSupportsConcaveCorners<Dune::YaspGrid<dim, Coords>> : public std::false_type {};
35
36} // end namespace Dumux
37
38#endif
Definition: adapt.hh:17
Definition: common/pdesolver.hh:24
Type trait to determine if a grid supports concave corners (e.g. by cutting out a hole from the domai...
Definition: gridsupportsconcavecorners.hh:31