1 #ifndef CLASS_GLOBAL_3D_TPP
2 #define CLASS_GLOBAL_3D_TPP
27 Class_Global() : max_length (uint32_t(pow(2.0,MAX_LEVEL_3D))),
33 octantBytes(uint8_t(
sizeof(uint32_t)*3 +
sizeof(uint8_t) +
sizeof(int8_t) + (16)*
sizeof(
bool))),
34 globalIndexBytes(uint8_t(
sizeof(uint64_t))),
35 markerBytes(
sizeof(int8_t)),
36 levelBytes(
sizeof(uint8_t)),
37 boolBytes(
sizeof(
bool))
140 edgecoeffs[0][0] = -1;
141 edgecoeffs[0][1] = 0;
142 edgecoeffs[0][2] = -1;
143 edgecoeffs[1][0] = 1;
144 edgecoeffs[1][1] = 0;
145 edgecoeffs[1][2] = -1;
146 edgecoeffs[2][0] = 0;
147 edgecoeffs[2][1] = -1;
148 edgecoeffs[2][2] = -1;
149 edgecoeffs[3][0] = 0;
150 edgecoeffs[3][1] = 1;
151 edgecoeffs[3][2] = -1;
152 edgecoeffs[4][0] = -1;
153 edgecoeffs[4][1] = -1;
154 edgecoeffs[4][2] = 0;
155 edgecoeffs[5][0] = 1;
156 edgecoeffs[5][1] = -1;
157 edgecoeffs[5][2] = 0;
158 edgecoeffs[6][0] = -1;
159 edgecoeffs[6][1] = 1;
160 edgecoeffs[6][2] = 0;
161 edgecoeffs[7][0] = 1;
162 edgecoeffs[7][1] = 1;
163 edgecoeffs[7][2] = 0;
164 edgecoeffs[8][0] = -1;
165 edgecoeffs[8][1] = 0;
166 edgecoeffs[8][2] = 1;
167 edgecoeffs[9][0] = 1;
168 edgecoeffs[9][1] = 0;
169 edgecoeffs[9][2] = 1;
170 edgecoeffs[10][0] = 0;
171 edgecoeffs[10][1] = -1;
172 edgecoeffs[10][2] = 1;
173 edgecoeffs[11][0] = 0;
174 edgecoeffs[11][1] = 1;
175 edgecoeffs[11][2] = 1;
191 uint8_t nodeface[8][3];
192 uint8_t facenode[6][4];
193 uint8_t edgeface[12][2];
194 int8_t normals[6][3];
195 int8_t edgecoeffs[12][3];
Global variables used in PABLO.