ug4
grid_constants.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009-2015: G-CSC, Goethe University Frankfurt
3  * Author: Sebastian Reiter
4  *
5  * This file is part of UG4.
6  *
7  * UG4 is free software: you can redistribute it and/or modify it under the
8  * terms of the GNU Lesser General Public License version 3 (as published by the
9  * Free Software Foundation) with the following additional attribution
10  * requirements (according to LGPL/GPL v3 §7):
11  *
12  * (1) The following notice must be displayed in the Appropriate Legal Notices
13  * of covered and combined works: "Based on UG4 (www.ug4.org/license)".
14  *
15  * (2) The following notice must be displayed at a prominent place in the
16  * terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
17  *
18  * (3) The following bibliography is recommended for citation and must be
19  * preserved in all covered files:
20  * "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
21  * parallel geometric multigrid solver on hierarchically distributed grids.
22  * Computing and visualization in science 16, 4 (2013), 151-164"
23  * "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
24  * flexible software system for simulating pde based models on high performance
25  * computers. Computing and visualization in science 16, 4 (2013), 165-179"
26  *
27  * This program is distributed in the hope that it will be useful,
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30  * GNU Lesser General Public License for more details.
31  */
32 
33 #ifndef __H__LIB_GRID__GRID_CONSTANTS__
34 #define __H__LIB_GRID__GRID_CONSTANTS__
35 
36 namespace ug
37 {
38 
41 
43 // VertexOptions
46 {
47  VRTOPT_NONE = 0x00000000,
51 };
52 
54 // EdgeOptions
57 {
58  EDGEOPT_NONE = 0x00000000,
61 };
62 
64 // FaceOptions
67 {
68  FACEOPT_NONE = 0x00000000,
71  FACEOPT_AUTOGENERATE_EDGES = 0x00080000
72 };
73 
75 // VolumeOptions
78 {
79  VOLOPT_NONE = 0x00000000,
83  VOLOPT_AUTOGENERATE_FACES = 0x10000000
84 };
85 
87 // GridOptions
90 {
91  GRIDOPT_NONE = 0x00000000,
94 
100 
104 
106 
112 
114 
120 
123 };
124 
126 }
127 
128 #endif
VolumeOptions
Used to specify the way in which Grid manages volume-specific data.
Definition: grid_constants.h:78
VertexOptions
Used to specify the way in which Grid manages vertex-specific data.
Definition: grid_constants.h:46
EdgeOptions
Used to specify the way in which Grid manages edge-specific data.
Definition: grid_constants.h:57
GridOptions
Specify how references between associated objects are stored in a grid.
Definition: grid_constants.h:90
FaceOptions
Used to specify the way in which Grid manages face-specific data.
Definition: grid_constants.h:67
@ VOLOPT_AUTOGENERATE_EDGES
Definition: grid_constants.h:82
@ VOLOPT_STORE_ASSOCIATED_FACES
speed-improvement for grid.get_face(Face*, int) ~15%
Definition: grid_constants.h:81
@ VOLOPT_STORE_ASSOCIATED_EDGES
minor speed-improvement for grid.get_edge(Volume*, int)
Definition: grid_constants.h:80
@ VOLOPT_NONE
Definition: grid_constants.h:79
@ VOLOPT_AUTOGENERATE_FACES
Definition: grid_constants.h:83
@ VRTOPT_STORE_ASSOCIATED_EDGES
Definition: grid_constants.h:48
@ VRTOPT_STORE_ASSOCIATED_FACES
Definition: grid_constants.h:49
@ VRTOPT_STORE_ASSOCIATED_VOLUMES
Definition: grid_constants.h:50
@ VRTOPT_NONE
Definition: grid_constants.h:47
@ EDGEOPT_STORE_ASSOCIATED_FACES
Definition: grid_constants.h:59
@ EDGEOPT_NONE
Definition: grid_constants.h:58
@ EDGEOPT_STORE_ASSOCIATED_VOLUMES
Definition: grid_constants.h:60
@ GRIDOPT_FULL_INTERCONNECTION
All elements store references to all associated elements.
Definition: grid_constants.h:116
@ GRIDOPT_VERTEXCENTRIC_INTERCONNECTION
vertices store lists of associated geometric objects.
Definition: grid_constants.h:97
@ GRIDOPT_NO_INTERCONNECTION
Definition: grid_constants.h:92
@ GRIDOPT_NONE
Definition: grid_constants.h:91
@ GRIDOPT_AUTOGENERATE_SIDES
sides are automatically created
Definition: grid_constants.h:102
@ GRIDOPT_STANDARD_INTERCONNECTION
All elements store references to associated lower dimensional geometric objects.
Definition: grid_constants.h:107
@ GRIDOPT_DEFAULT
Definition: grid_constants.h:121
@ FACEOPT_STORE_ASSOCIATED_EDGES
minor speed-improvement for grid.get_edge(Face*, int)
Definition: grid_constants.h:69
@ FACEOPT_STORE_ASSOCIATED_VOLUMES
Definition: grid_constants.h:70
@ FACEOPT_NONE
Definition: grid_constants.h:68
@ FACEOPT_AUTOGENERATE_EDGES
Definition: grid_constants.h:71
the ug namespace