Reference documentation for deal.II version 9.4.1
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
magic_numbers.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 1998 - 2018 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
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
29const unsigned int mn_tria_refine_flags_begin = 0xa000;
30const unsigned int mn_tria_refine_flags_end = 0xa001;
31const unsigned int mn_tria_coarsen_flags_begin = 0xa010;
32const unsigned int mn_tria_coarsen_flags_end = 0xa011;
33const unsigned int mn_tria_line_user_flags_begin = 0xa100;
34const unsigned int mn_tria_line_user_flags_end = 0xa101;
35const unsigned int mn_tria_quad_user_flags_begin = 0xa110;
36const unsigned int mn_tria_quad_user_flags_end = 0xa111;
37const unsigned int mn_tria_hex_user_flags_begin = 0xa112;
38const unsigned int mn_tria_hex_user_flags_end = 0xa113;
39const unsigned int mn_persistent_tria_flags_begin = 0xa200;
40const unsigned int mn_persistent_tria_flags_end = 0xa201;
41
42
44
45#endif
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
const unsigned int mn_tria_refine_flags_end
Definition: magic_numbers.h:30
const unsigned int mn_tria_coarsen_flags_end
Definition: magic_numbers.h:32
const unsigned int mn_tria_refine_flags_begin
Definition: magic_numbers.h:29
const unsigned int mn_tria_hex_user_flags_end
Definition: magic_numbers.h:38
const unsigned int mn_tria_line_user_flags_begin
Definition: magic_numbers.h:33
const unsigned int mn_persistent_tria_flags_begin
Definition: magic_numbers.h:39
const unsigned int mn_tria_line_user_flags_end
Definition: magic_numbers.h:34
const unsigned int mn_persistent_tria_flags_end
Definition: magic_numbers.h:40
const unsigned int mn_tria_quad_user_flags_end
Definition: magic_numbers.h:36
const unsigned int mn_tria_coarsen_flags_begin
Definition: magic_numbers.h:31
const unsigned int mn_tria_hex_user_flags_begin
Definition: magic_numbers.h:37
const unsigned int mn_tria_quad_user_flags_begin
Definition: magic_numbers.h:35