106 constexpr std::array<size_t, 4> ksi_nodes[2][3] = {
108 {{1, 2, 6, 5}, {3, 2, 6, 7}, {4, 5, 6, 7}},
110 {{0, 3, 7, 4}, {0, 1, 5, 4}, {0, 1, 2, 3}}
114 for (
size_t i = 0;
i != 3; ++
i) {
115 for (
auto n : ksi_nodes[0][
i])
116 ksi[
i] +=
N[shift +
n];
117 for (
auto n : ksi_nodes[1][
i])
118 ksi[
i] -=
N[shift +
n];
121 for (
size_t i = 0;
i != 3; ++
i) {
122 for (
auto d = 0;
d != 3; ++
d) {
123 for (
auto n : ksi_nodes[0][
i]) {
125 diff_ksi[
i][
d] += N_diff[3 * (shift +
n) +
d];
128 for (
auto n : ksi_nodes[1][
i]) {
129 for (
auto d = 0;
d != 3; ++
d) {
130 diff_ksi[
i][
d] -= N_diff[3 * (shift +
n) +
d];