| 1 |
// ------------------------------------------------------------------------ |
| 2 |
// |
| 3 |
// SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
// Copyright (C) 1998 - 2018 by the deal.II authors |
| 5 |
// |
| 6 |
// This file is part of the deal.II library. |
| 7 |
// |
| 8 |
// Part of the source code is dual licensed under Apache-2.0 WITH |
| 9 |
// LLVM-exception OR LGPL-2.1-or-later. Detailed license information |
| 10 |
// governing the source code and code contributions can be found in |
| 11 |
// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. |
| 12 |
// |
| 13 |
// ------------------------------------------------------------------------ |
| 14 |
|
| 15 |
#ifndef dealii_magic_numbers_h |
| 16 |
#define dealii_magic_numbers_h |
| 17 |
|
| 18 |
#include <deal.II/base/config.h> |
| 19 |
|
| 20 |
DEAL_II_NAMESPACE_OPEN |
| 21 |
|
| 22 |
// This is a list of magic numbers used throughout the library. |
| 23 |
// They are collected in one file to avoid double usage. |
| 24 |
// Naming convention: all names have to start with the sequence |
| 25 |
// "mn_" denoting a magic number, then the library part follows |
| 26 |
// (e.g. "tria_" or "dof_") and finally the purpose. |
| 27 |
|
| 28 |
const unsigned int mn_tria_refine_flags_begin = 0xa000; |
| 29 |
const unsigned int mn_tria_refine_flags_end = 0xa001; |
| 30 |
const unsigned int mn_tria_coarsen_flags_begin = 0xa010; |
| 31 |
const unsigned int mn_tria_coarsen_flags_end = 0xa011; |
| 32 |
const unsigned int mn_tria_line_user_flags_begin = 0xa100; |
| 33 |
const unsigned int mn_tria_line_user_flags_end = 0xa101; |
| 34 |
const unsigned int mn_tria_quad_user_flags_begin = 0xa110; |
| 35 |
const unsigned int mn_tria_quad_user_flags_end = 0xa111; |
| 36 |
const unsigned int mn_tria_hex_user_flags_begin = 0xa112; |
| 37 |
const unsigned int mn_tria_hex_user_flags_end = 0xa113; |
| 38 |
const unsigned int mn_persistent_tria_flags_begin = 0xa200; |
| 39 |
const unsigned int mn_persistent_tria_flags_end = 0xa201; |
| 40 |
|
| 41 |
|
| 42 |
DEAL_II_NAMESPACE_CLOSE |
| 43 |
|
| 44 |
#endif |