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