Reference documentation for deal.II version 9.1.0-pre
magic_numbers.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 2017 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_magic_numbers_h
17 #define dealii_magic_numbers_h
18 
19 #include <deal.II/base/config.h>
20 
21 DEAL_II_NAMESPACE_OPEN
22 
23 // This is a list of magic numbers used throughout the library.
24 // They are collected in one file to avoid double usage.
25 // Naming convention: all names have to start with the sequence
26 // "mn_" denoting a magic number, then the library part follows
27 // (e.g. "tria_" or "dof_") and finally the purpose.
28 
29 const unsigned int mn_tria_refine_flags_begin = 0xa000;
30 const unsigned int mn_tria_refine_flags_end = 0xa001;
31 const unsigned int mn_tria_coarsen_flags_begin = 0xa010;
32 const unsigned int mn_tria_coarsen_flags_end = 0xa011;
33 const unsigned int mn_tria_line_user_flags_begin = 0xa100;
34 const unsigned int mn_tria_line_user_flags_end = 0xa101;
35 const unsigned int mn_tria_quad_user_flags_begin = 0xa110;
36 const unsigned int mn_tria_quad_user_flags_end = 0xa111;
37 const unsigned int mn_tria_hex_user_flags_begin = 0xa112;
38 const unsigned int mn_tria_hex_user_flags_end = 0xa113;
39 const unsigned int mn_persistent_tria_flags_begin = 0xa200;
40 const unsigned int mn_persistent_tria_flags_end = 0xa201;
41 
42 
43 DEAL_II_NAMESPACE_CLOSE
44 
45 #endif