version 3.11-dev
Loading...
Searching...
No Matches
geometrytraits.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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_GEOMETRY_GEOMETRY_TRAITS_HH
13#define DUMUX_GEOMETRY_GEOMETRY_TRAITS_HH
14
15#include <dune/geometry/axisalignedcubegeometry.hh>
16
17namespace Dumux {
18
29template<class Geometry>
31{ static constexpr bool axisAligned = false; };
32
34template<class ct, int dim, int dimworld>
35struct GeometryTraits<Dune::AxisAlignedCubeGeometry<ct, dim, dimworld>>
36{ static constexpr bool axisAligned = true; };
37
38} // end namespace Dumux
39
40#endif
Definition adapt.hh:17
Definition common/pdesolver.hh:24
static constexpr bool axisAligned
Definition geometrytraits.hh:36
Traits telling the bounding box tree algorithms about a leaf geometry.
Definition geometrytraits.hh:31
static constexpr bool axisAligned
Definition geometrytraits.hh:31