33 const std::vector<
Point<1>> &all_vertices,
45 const std::vector<
Point<2>> &all_vertices,
94 return (-x[1] * y[0] + x[1] * y[3] + y[0] * x[2] + x[0] * y[1] -
95 x[0] * y[2] - y[1] * x[3] - x[2] * y[3] + x[3] * y[2]) /
104 const std::vector<
Point<3>> &all_vertices,
175 const double t3 = y[3] * x[2];
176 const double t5 = z[1] * x[5];
177 const double t9 = z[3] * x[2];
178 const double t11 = x[1] * y[0];
179 const double t14 = x[4] * y[0];
180 const double t18 = x[5] * y[7];
181 const double t20 = y[1] * x[3];
182 const double t22 = y[5] * x[4];
183 const double t26 = z[7] * x[6];
184 const double t28 = x[0] * y[4];
186 z[3] * x[1] * y[2] + t3 * z[1] - t5 * y[7] + y[7] * x[4] * z[6] +
187 t9 * y[6] - t11 * z[4] - t5 * y[3] - t14 * z[2] + z[1] * x[4] * y[0] -
188 t18 * z[3] + t20 * z[0] - t22 * z[0] - y[0] * x[5] * z[4] - t26 * y[3] +
189 t28 * z[2] - t9 * y[1] - y[1] * x[4] * z[0] - t11 * z[5];
190 const double t37 = y[1] * x[0];
191 const double t44 = x[1] * y[5];
192 const double t46 = z[1] * x[0];
193 const double t49 = x[0] * y[2];
194 const double t52 = y[5] * x[7];
195 const double t54 = x[3] * y[7];
196 const double t56 = x[2] * z[0];
197 const double t58 = x[3] * y[2];
198 const double t64 = -x[6] * y[4] * z[2] - t37 * z[2] + t18 * z[6] -
199 x[3] * y[6] * z[2] + t11 * z[2] + t5 * y[0] +
200 t44 * z[4] - t46 * y[4] - t20 * z[7] - t49 * z[6] -
201 t22 * z[1] + t52 * z[3] - t54 * z[2] - t56 * y[4] -
202 t58 * z[0] + y[1] * x[2] * z[0] + t9 * y[7] + t37 * z[4];
203 const double t66 = x[1] * y[7];
204 const double t68 = y[0] * x[6];
205 const double t70 = x[7] * y[6];
206 const double t73 = z[5] * x[4];
207 const double t76 = x[6] * y[7];
208 const double t90 = x[4] * z[0];
209 const double t92 = x[1] * y[3];
210 const double t95 = -t66 * z[3] - t68 * z[2] - t70 * z[2] + t26 * y[5] -
211 t73 * y[6] - t14 * z[6] + t76 * z[2] - t3 * z[6] +
212 x[6] * y[2] * z[4] - z[3] * x[6] * y[2] + t26 * y[4] -
213 t44 * z[3] - x[1] * y[2] * z[0] + x[5] * y[6] * z[4] +
214 t54 * z[5] + t90 * y[2] - t92 * z[2] + t46 * y[2];
215 const double t102 = x[2] * y[0];
216 const double t107 = y[3] * x[7];
217 const double t114 = x[0] * y[6];
219 y[0] * x[3] * z[2] - z[7] * x[5] * y[6] - x[2] * y[6] * z[4] +
220 t102 * z[6] - t52 * z[6] + x[2] * y[4] * z[6] - t107 * z[5] - t54 * z[6] +
221 t58 * z[6] - x[7] * y[4] * z[6] + t37 * z[5] - t114 * z[4] + t102 * z[4] -
222 z[1] * x[2] * y[0] + t28 * z[6] - y[5] * x[6] * z[4] -
223 z[5] * x[1] * y[4] - t73 * y[7];
224 const double t129 = z[0] * x[6];
225 const double t133 = y[1] * x[7];
226 const double t145 = y[1] * x[5];
227 const double t156 = t90 * y[6] - t129 * y[4] + z[7] * x[2] * y[6] -
228 t133 * z[5] + x[5] * y[3] * z[7] - t26 * y[2] -
229 t70 * z[3] + t46 * y[3] + z[5] * x[7] * y[4] +
230 z[7] * x[3] * y[6] - t49 * z[4] + t145 * z[7] -
231 x[2] * y[7] * z[6] + t70 * z[5] + t66 * z[5] -
232 z[7] * x[4] * y[6] + t18 * z[4] + x[1] * y[4] * z[0];
233 const double t160 = x[5] * y[4];
234 const double t165 = z[1] * x[7];
235 const double t178 = z[1] * x[3];
237 t107 * z[6] + t22 * z[7] + t76 * z[3] + t160 * z[1] - x[4] * y[2] * z[6] +
238 t70 * z[4] + t165 * y[5] + x[7] * y[2] * z[6] - t76 * z[5] - t76 * z[4] +
239 t133 * z[3] - t58 * z[1] + y[5] * x[0] * z[4] + t114 * z[2] - t3 * z[7] +
240 t20 * z[2] + t178 * y[7] + t129 * y[2];
241 const double t207 = t92 * z[7] + t22 * z[6] + z[3] * x[0] * y[2] -
242 x[0] * y[3] * z[2] - z[3] * x[7] * y[2] - t165 * y[3] -
243 t9 * y[0] + t58 * z[7] + y[3] * x[6] * z[2] +
244 t107 * z[2] + t73 * y[0] - x[3] * y[5] * z[7] +
245 t3 * z[0] - t56 * y[6] - z[5] * x[0] * y[4] +
246 t73 * y[1] - t160 * z[6] + t160 * z[0];
247 const double t228 = -t44 * z[7] + z[5] * x[6] * y[4] - t52 * z[4] -
248 t145 * z[4] + t68 * z[4] + t92 * z[5] - t92 * z[0] +
249 t11 * z[3] + t44 * z[0] + t178 * y[5] - t46 * y[5] -
250 t178 * y[0] - t145 * z[0] - t20 * z[5] - t37 * z[3] -
251 t160 * z[7] + t145 * z[3] + x[4] * y[6] * z[2];
253 return (t34 + t64 + t95 + t125 + t156 + t181 + t207 + t228) / 12.;
266 explicit Rotate2d(
const double angle)
300 false,
ExcMessage(
"GridTools::rotate() is not available for dim = 3."));