Dune Core Modules (2.9.0)

gridtype.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4// vi: set et ts=4 sw=2 sts=2:
5#ifndef DUNE_GRIDTYPE_HH
6#define DUNE_GRIDTYPE_HH
7
17#ifndef HEADERCHECK
18
19// NOGRID is used to specify that no default was set during configure
20// If NOGRID and HAVE_GRIDTYPE are both not set then no grid was selected
21// and an error is produced
22#if defined NOGRID
23 #if ! HAVE_GRIDTYPE
24 #error "No grid type selected, use GRIDTYPE=..."
25 #endif
26#else
27 #if ! HAVE_GRIDTYPE
28 #error "No grid type selected, typo in GRIDTYPE=...?"
29 #endif
30#endif
31
32#endif // HEADERCHECK
33
34#endif // DUNE_GRIDTYPE_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)