test2()
{
deallog << "test2:" << std::endl;
- std::vector<std::array<std::uint64_t, 3>> points = {{5, 10, 20}};
+ std::vector<std::array<std::uint64_t, 3>> points = {{{5, 10, 20}}};
const auto res = Utilities::inverse_Hilbert_space_filling_curve<3>(points, 5);
auto op_b11 = linear_operator(a.block(1, 1));
std::array<std::array<decltype(op_b00), 2>, 2> temp{
- {{op_b00, op_b01}, {op_b10, op_b11}}};
+ {{{op_b00, op_b01}}, {{op_b10, op_b11}}}};
auto op_b = block_operator<2, 2, BlockVector<double>>(temp);
{
// And finally complicated block structures:
std::array<std::array<decltype(op_b00), 3>, 3> temp2{
- {{op_b00, op_b01, op_b00},
- {op_b10, op_b11, op_b10},
- {op_b10, op_b11, op_b10}}};
+ {{{op_b00, op_b01, op_b00}},
+ {{op_b10, op_b11, op_b10}},
+ {{op_b10, op_b11, op_b10}}}};
auto op_upp_x_upu = block_operator<3, 3, BlockVector<double>>(temp2);
op_upp_x_upu.reinit_domain_vector(u, false);
PRINTME("v", v);
std::array<std::array<decltype(op_b01), 1>, 3> temp3{
- {{op_b01}, {op_b11}, {op_b11}}};
+ {{{op_b01}}, {{op_b11}}, {{op_b11}}}};
auto op_upp_x_p = block_operator<3, 1, BlockVector<double>>(temp3);
std::array<std::array<decltype(op_b01), 3>, 1> temp4{
- {{op_b00, op_b01, op_b00}}};
+ {{{op_b00, op_b01, op_b00}}}};
auto op_u_x_upu = block_operator<1, 3, BlockVector<double>>(temp4);
auto op_long = op_u_x_upu * transpose_operator(op_upp_x_upu) * op_upp_x_p;
auto op_b11 = linear_operator(a.block(1, 1));
std::array<std::array<decltype(op_b00), 2>, 2> temp{
- {{op_b00, op_b01}, {op_b10, op_b11}}};
+ {{{op_b00, op_b01}}, {{op_b10, op_b11}}}};
auto op_b = block_operator<2, 2, BlockVector<double>>(temp);
// vmult:
initlog();
deallog.get_file_stream().precision(3);
- const std::vector<std::array<unsigned int, 3>> sizes = {{3, 3, 3},
- {7, 7, 7},
- {51, 51, 51},
- {320, 320, 320},
- {3, 5, 9},
- {7, 7, 9},
- {10, 5, 10},
- {320, 320, 120}};
+ const std::vector<std::array<unsigned int, 3>> sizes = {{{3, 3, 3}},
+ {{7, 7, 7}},
+ {{51, 51, 51}},
+ {{320, 320, 320}},
+ {{3, 5, 9}},
+ {{7, 7, 9}},
+ {{10, 5, 10}},
+ {{320, 320, 120}}};
deallog.push("double");
for (auto el : sizes)
initlog();
deallog.get_file_stream().precision(3);
- const std::vector<std::array<unsigned int, 2>> sizes = {
- {3, 3}, {7, 7}, {51, 51}, {320, 320}, {3, 9}, {9, 7}, {5, 17}, {320, 121}};
+ const std::vector<std::array<unsigned int, 2>> sizes = {{{3, 3}},
+ {{7, 7}},
+ {{51, 51}},
+ {{320, 320}},
+ {{3, 9}},
+ {{9, 7}},
+ {{5, 17}},
+ {{320, 121}}};
deallog.push("double");
for (auto el : sizes)
initlog();
deallog.get_file_stream().precision(3);
- const std::vector<std::array<unsigned int, 2>> sizes = {
- {3, 3}, {7, 7}, {51, 51}, {320, 320}, {3, 9}, {9, 7}, {10, 5}, {320, 120}};
+ const std::vector<std::array<unsigned int, 2>> sizes = {{{3, 3}},
+ {{7, 7}},
+ {{51, 51}},
+ {{320, 320}},
+ {{3, 9}},
+ {{9, 7}},
+ {{10, 5}},
+ {{320, 120}}};
deallog.push("double");
for (auto el : sizes)
initlog();
deallog.get_file_stream().precision(3);
- const std::vector<std::array<unsigned int, 2>> sizes = {
- {3, 3}, {7, 7}, {51, 51}, {320, 320}, {3, 9}, {9, 7}, {10, 5}, {320, 120}};
+ const std::vector<std::array<unsigned int, 2>> sizes = {{{3, 3}},
+ {{7, 7}},
+ {{51, 51}},
+ {{320, 320}},
+ {{3, 9}},
+ {{9, 7}},
+ {{10, 5}},
+ {{320, 120}}};
deallog.push("double");
for (auto el : sizes)