write_test<float>(data_file, mpi_communicator, pcout);
write_test<double>(data_file, mpi_communicator, pcout);
+
+#ifdef DEAL_II_WITH_COMPLEX_VALUES
write_test<std::complex<float>>(data_file, mpi_communicator, pcout);
write_test<std::complex<double>>(data_file, mpi_communicator, pcout);
+#endif
}
{
HDF5::File::Mode::open);
read_test<float>(data_file, mpi_communicator, pcout);
read_test<double>(data_file, mpi_communicator, pcout);
+
+#ifdef DEAL_II_WITH_COMPLEX_VALUES
read_test<std::complex<float>>(data_file, mpi_communicator, pcout);
read_test<std::complex<double>>(data_file, mpi_communicator, pcout);
+#endif
}
}
catch (std::exception &exc)
--- /dev/null
+
+DEAL::Write tests for float datasets
+DEAL::Dimensions dataset_1<float> (Write): 5 3
+DEAL::Size dataset_1<float> (Write): 15
+DEAL::Rank dataset_1<float> (Write): 2
+DEAL::Data dataset_1<float> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
+DEAL::Dimensions dataset_2<float> (Write): 2 5 3
+DEAL::Size dataset_2<float> (Write): 30
+DEAL::Rank dataset_2<float> (Write): 3
+DEAL::Data dataset_2<float> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Dimensions dataset_3<float> (Write): 2 5 3
+DEAL::Size dataset_3<float> (Write): 30
+DEAL::Rank dataset_3<float> (Write): 3
+DEAL::Dimensions dataset_4<float> (Write): 3 2 4
+DEAL::Size dataset_4<float> (Write): 24
+DEAL::Rank dataset_4<float> (Write): 3
+DEAL::Dimensions dataset_5<float> (Write): 3 2 4
+DEAL::Size dataset_5<float> (Write): 24
+DEAL::Rank dataset_5<float> (Write): 3
+DEAL::Dimensions dataset_6<float> (Write): 7 12
+DEAL::Size dataset_6<float> (Write): 84
+DEAL::Rank dataset_6<float> (Write): 2
+DEAL::Write tests for double datasets
+DEAL::Dimensions dataset_1<double> (Write): 5 3
+DEAL::Size dataset_1<double> (Write): 15
+DEAL::Rank dataset_1<double> (Write): 2
+DEAL::Data dataset_1<double> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
+DEAL::Dimensions dataset_2<double> (Write): 2 5 3
+DEAL::Size dataset_2<double> (Write): 30
+DEAL::Rank dataset_2<double> (Write): 3
+DEAL::Data dataset_2<double> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Dimensions dataset_3<double> (Write): 2 5 3
+DEAL::Size dataset_3<double> (Write): 30
+DEAL::Rank dataset_3<double> (Write): 3
+DEAL::Dimensions dataset_4<double> (Write): 3 2 4
+DEAL::Size dataset_4<double> (Write): 24
+DEAL::Rank dataset_4<double> (Write): 3
+DEAL::Dimensions dataset_5<double> (Write): 3 2 4
+DEAL::Size dataset_5<double> (Write): 24
+DEAL::Rank dataset_5<double> (Write): 3
+DEAL::Dimensions dataset_6<double> (Write): 7 12
+DEAL::Size dataset_6<double> (Write): 84
+DEAL::Rank dataset_6<double> (Write): 2
+DEAL::Read tests for float datasets
+DEAL::Dimensions dataset_1<float> (Read): 5 3
+DEAL::Size dataset_1<float> (Read): 15
+DEAL::Rank dataset_1<float> (Read): 2
+DEAL::Data dataset_1<float> (Read): [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11], [12, 13, 14]]
+DEAL::Column vector dataset_1<float> (Read): [7, 10, 13]
+DEAL::Row vector dataset_1<float> (Read): [9, 10, 11]
+DEAL::Sub-matrix dataset_1<float> (Read): [[3, 4, 5], [6, 7, 8]]
+DEAL::Dimensions dataset_2<float> (Read): 2 5 3
+DEAL::Size dataset_2<float> (Read): 30
+DEAL::Rank dataset_2<float> (Read): 3
+DEAL::Data dataset_2<float> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Column vector dataset_2<float> (Read): [16, 19, 22, 25]
+DEAL::Row vector dataset_2<float> (Read): [1, 16]
+DEAL::Sub-matrix dataset_2<float> (Read): [[18, 19], [21, 22], [24, 25]]
+DEAL::Sub-matrix dataset_2<float> (Read): [[3, 4, 5], [18, 19, 20]]
+DEAL::Sub-matrix dataset_2<float> (Read): [[0, 2], [6, 8], [12, 14]]
+DEAL::Selection dataset_2<float> (Read): [0, 20, 22, 13, 11]
+DEAL::Dimensions dataset_3<float> (Read): 2 5 3
+DEAL::Size dataset_3<float> (Read): 30
+DEAL::Rank dataset_3<float> (Read): 3
+DEAL::Data dataset_3<float> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+DEAL::Dimensions dataset_4<float> (Read): 3 2 4
+DEAL::Size dataset_4<float> (Read): 24
+DEAL::Rank dataset_4<float> (Read): 3
+DEAL::Data dataset_4<float> (Read): [0, 1, 2, 3, 0, 0, 0, 0, 4, 5, 6, 7, 0, 0, 0, 0, 8, 9, 10, 11, 0, 0, 0, 0]
+DEAL::Dimensions dataset_5<float> (Read): 3 2 4
+DEAL::Size dataset_5<float> (Read): 24
+DEAL::Rank dataset_5<float> (Read): 3
+DEAL::Data dataset_5<float> (Read): [2, 0, 0, 0, 6, 5, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+DEAL::Dimensions dataset_6<float> (Read): 7 12
+DEAL::Size dataset_6<float> (Read): 84
+DEAL::Rank dataset_6<float> (Read): 2
+DEAL::Data dataset_6<float> (Read): [[0, 0, 1, 0, 2, 3, 0, 4, 5, 0, 6, 7], [0, 8, 9, 0, 10, 11, 0, 12, 13, 0, 14, 15], [0, 16, 17, 0, 18, 19, 0, 20, 21, 0, 22, 23], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 24, 25, 0, 26, 27, 0, 28, 29, 0, 30, 31], [0, 32, 33, 0, 34, 35, 0, 36, 37, 0, 38, 39], [0, 40, 41, 0, 42, 43, 0, 44, 45, 0, 46, 47]]
+DEAL::Read tests for double datasets
+DEAL::Dimensions dataset_1<double> (Read): 5 3
+DEAL::Size dataset_1<double> (Read): 15
+DEAL::Rank dataset_1<double> (Read): 2
+DEAL::Data dataset_1<double> (Read): [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11], [12, 13, 14]]
+DEAL::Column vector dataset_1<double> (Read): [7, 10, 13]
+DEAL::Row vector dataset_1<double> (Read): [9, 10, 11]
+DEAL::Sub-matrix dataset_1<double> (Read): [[3, 4, 5], [6, 7, 8]]
+DEAL::Dimensions dataset_2<double> (Read): 2 5 3
+DEAL::Size dataset_2<double> (Read): 30
+DEAL::Rank dataset_2<double> (Read): 3
+DEAL::Data dataset_2<double> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Column vector dataset_2<double> (Read): [16, 19, 22, 25]
+DEAL::Row vector dataset_2<double> (Read): [1, 16]
+DEAL::Sub-matrix dataset_2<double> (Read): [[18, 19], [21, 22], [24, 25]]
+DEAL::Sub-matrix dataset_2<double> (Read): [[3, 4, 5], [18, 19, 20]]
+DEAL::Sub-matrix dataset_2<double> (Read): [[0, 2], [6, 8], [12, 14]]
+DEAL::Selection dataset_2<double> (Read): [0, 20, 22, 13, 11]
+DEAL::Dimensions dataset_3<double> (Read): 2 5 3
+DEAL::Size dataset_3<double> (Read): 30
+DEAL::Rank dataset_3<double> (Read): 3
+DEAL::Data dataset_3<double> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+DEAL::Dimensions dataset_4<double> (Read): 3 2 4
+DEAL::Size dataset_4<double> (Read): 24
+DEAL::Rank dataset_4<double> (Read): 3
+DEAL::Data dataset_4<double> (Read): [0, 1, 2, 3, 0, 0, 0, 0, 4, 5, 6, 7, 0, 0, 0, 0, 8, 9, 10, 11, 0, 0, 0, 0]
+DEAL::Dimensions dataset_5<double> (Read): 3 2 4
+DEAL::Size dataset_5<double> (Read): 24
+DEAL::Rank dataset_5<double> (Read): 3
+DEAL::Data dataset_5<double> (Read): [2, 0, 0, 0, 6, 5, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+DEAL::Dimensions dataset_6<double> (Read): 7 12
+DEAL::Size dataset_6<double> (Read): 84
+DEAL::Rank dataset_6<double> (Read): 2
+DEAL::Data dataset_6<double> (Read): [[0, 0, 1, 0, 2, 3, 0, 4, 5, 0, 6, 7], [0, 8, 9, 0, 10, 11, 0, 12, 13, 0, 14, 15], [0, 16, 17, 0, 18, 19, 0, 20, 21, 0, 22, 23], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 24, 25, 0, 26, 27, 0, 28, 29, 0, 30, 31], [0, 32, 33, 0, 34, 35, 0, 36, 37, 0, 38, 39], [0, 40, 41, 0, 42, 43, 0, 44, 45, 0, 46, 47]]
--- /dev/null
+
+DEAL::Write tests for float datasets
+DEAL::Dimensions dataset_1<float> (Write): 5 3
+DEAL::Size dataset_1<float> (Write): 15
+DEAL::Rank dataset_1<float> (Write): 2
+DEAL::Data dataset_1<float> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
+DEAL::Dimensions dataset_2<float> (Write): 2 5 3
+DEAL::Size dataset_2<float> (Write): 30
+DEAL::Rank dataset_2<float> (Write): 3
+DEAL::Data dataset_2<float> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Dimensions dataset_3<float> (Write): 2 5 3
+DEAL::Size dataset_3<float> (Write): 30
+DEAL::Rank dataset_3<float> (Write): 3
+DEAL::Dimensions dataset_4<float> (Write): 3 2 4
+DEAL::Size dataset_4<float> (Write): 24
+DEAL::Rank dataset_4<float> (Write): 3
+DEAL::Dimensions dataset_5<float> (Write): 3 2 4
+DEAL::Size dataset_5<float> (Write): 24
+DEAL::Rank dataset_5<float> (Write): 3
+DEAL::Dimensions dataset_6<float> (Write): 7 12
+DEAL::Size dataset_6<float> (Write): 84
+DEAL::Rank dataset_6<float> (Write): 2
+DEAL::Write tests for double datasets
+DEAL::Dimensions dataset_1<double> (Write): 5 3
+DEAL::Size dataset_1<double> (Write): 15
+DEAL::Rank dataset_1<double> (Write): 2
+DEAL::Data dataset_1<double> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
+DEAL::Dimensions dataset_2<double> (Write): 2 5 3
+DEAL::Size dataset_2<double> (Write): 30
+DEAL::Rank dataset_2<double> (Write): 3
+DEAL::Data dataset_2<double> (Write): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Dimensions dataset_3<double> (Write): 2 5 3
+DEAL::Size dataset_3<double> (Write): 30
+DEAL::Rank dataset_3<double> (Write): 3
+DEAL::Dimensions dataset_4<double> (Write): 3 2 4
+DEAL::Size dataset_4<double> (Write): 24
+DEAL::Rank dataset_4<double> (Write): 3
+DEAL::Dimensions dataset_5<double> (Write): 3 2 4
+DEAL::Size dataset_5<double> (Write): 24
+DEAL::Rank dataset_5<double> (Write): 3
+DEAL::Dimensions dataset_6<double> (Write): 7 12
+DEAL::Size dataset_6<double> (Write): 84
+DEAL::Rank dataset_6<double> (Write): 2
+DEAL::Read tests for float datasets
+DEAL::Dimensions dataset_1<float> (Read): 5 3
+DEAL::Size dataset_1<float> (Read): 15
+DEAL::Rank dataset_1<float> (Read): 2
+DEAL::Data dataset_1<float> (Read): [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11], [12, 13, 14]]
+DEAL::Column vector dataset_1<float> (Read): [7, 10, 13]
+DEAL::Row vector dataset_1<float> (Read): [9, 10, 11]
+DEAL::Sub-matrix dataset_1<float> (Read): [[3, 4, 5], [6, 7, 8]]
+DEAL::Dimensions dataset_2<float> (Read): 2 5 3
+DEAL::Size dataset_2<float> (Read): 30
+DEAL::Rank dataset_2<float> (Read): 3
+DEAL::Data dataset_2<float> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Column vector dataset_2<float> (Read): [16, 19, 22, 25]
+DEAL::Row vector dataset_2<float> (Read): [1, 16]
+DEAL::Sub-matrix dataset_2<float> (Read): [[18, 19], [21, 22], [24, 25]]
+DEAL::Sub-matrix dataset_2<float> (Read): [[3, 4, 5], [18, 19, 20]]
+DEAL::Sub-matrix dataset_2<float> (Read): [[0, 2], [6, 8], [12, 14]]
+DEAL::Selection dataset_2<float> (Read): [0, 20, 22, 13, 11]
+DEAL::Dimensions dataset_3<float> (Read): 2 5 3
+DEAL::Size dataset_3<float> (Read): 30
+DEAL::Rank dataset_3<float> (Read): 3
+DEAL::Data dataset_3<float> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28]
+DEAL::Dimensions dataset_4<float> (Read): 3 2 4
+DEAL::Size dataset_4<float> (Read): 24
+DEAL::Rank dataset_4<float> (Read): 3
+DEAL::Data dataset_4<float> (Read): [0, 1, 2, 3, 0, 2, 4, 6, 4, 5, 6, 7, 8, 10, 12, 14, 8, 9, 10, 11, 16, 18, 20, 22]
+DEAL::Dimensions dataset_5<float> (Read): 3 2 4
+DEAL::Size dataset_5<float> (Read): 24
+DEAL::Rank dataset_5<float> (Read): 3
+DEAL::Data dataset_5<float> (Read): [2, 0, 0, 38, 6, 5, 0, 3, 12, 0, 0, 0, 16, 15, 0, 13, 32, 0, 0, 0, 36, 35, 0, 33]
+DEAL::Dimensions dataset_6<float> (Read): 7 12
+DEAL::Size dataset_6<float> (Read): 84
+DEAL::Rank dataset_6<float> (Read): 2
+DEAL::Data dataset_6<float> (Read): [[-0, 0, 1, -1, 2, 3, -2, 4, 5, -3, 6, 7], [-4, 8, 9, -5, 10, 11, -6, 12, 13, -7, 14, 15], [-8, 16, 17, -9, 18, 19, -10, 20, 21, -11, 22, 23], [-12, 0, 0, -13, 0, 0, -14, 0, 0, -15, 0, 0], [-16, 24, 25, -17, 26, 27, -18, 28, 29, -19, 30, 31], [-20, 32, 33, -21, 34, 35, -22, 36, 37, -23, 38, 39], [-24, 40, 41, -25, 42, 43, -26, 44, 45, -27, 46, 47]]
+DEAL::Read tests for double datasets
+DEAL::Dimensions dataset_1<double> (Read): 5 3
+DEAL::Size dataset_1<double> (Read): 15
+DEAL::Rank dataset_1<double> (Read): 2
+DEAL::Data dataset_1<double> (Read): [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11], [12, 13, 14]]
+DEAL::Column vector dataset_1<double> (Read): [7, 10, 13]
+DEAL::Row vector dataset_1<double> (Read): [9, 10, 11]
+DEAL::Sub-matrix dataset_1<double> (Read): [[3, 4, 5], [6, 7, 8]]
+DEAL::Dimensions dataset_2<double> (Read): 2 5 3
+DEAL::Size dataset_2<double> (Read): 30
+DEAL::Rank dataset_2<double> (Read): 3
+DEAL::Data dataset_2<double> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
+DEAL::Column vector dataset_2<double> (Read): [16, 19, 22, 25]
+DEAL::Row vector dataset_2<double> (Read): [1, 16]
+DEAL::Sub-matrix dataset_2<double> (Read): [[18, 19], [21, 22], [24, 25]]
+DEAL::Sub-matrix dataset_2<double> (Read): [[3, 4, 5], [18, 19, 20]]
+DEAL::Sub-matrix dataset_2<double> (Read): [[0, 2], [6, 8], [12, 14]]
+DEAL::Selection dataset_2<double> (Read): [0, 20, 22, 13, 11]
+DEAL::Dimensions dataset_3<double> (Read): 2 5 3
+DEAL::Size dataset_3<double> (Read): 30
+DEAL::Rank dataset_3<double> (Read): 3
+DEAL::Data dataset_3<double> (Read): [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28]
+DEAL::Dimensions dataset_4<double> (Read): 3 2 4
+DEAL::Size dataset_4<double> (Read): 24
+DEAL::Rank dataset_4<double> (Read): 3
+DEAL::Data dataset_4<double> (Read): [0, 1, 2, 3, 0, 2, 4, 6, 4, 5, 6, 7, 8, 10, 12, 14, 8, 9, 10, 11, 16, 18, 20, 22]
+DEAL::Dimensions dataset_5<double> (Read): 3 2 4
+DEAL::Size dataset_5<double> (Read): 24
+DEAL::Rank dataset_5<double> (Read): 3
+DEAL::Data dataset_5<double> (Read): [2, 0, 0, 38, 6, 5, 0, 3, 12, 0, 0, 0, 16, 15, 0, 13, 32, 0, 0, 0, 36, 35, 0, 33]
+DEAL::Dimensions dataset_6<double> (Read): 7 12
+DEAL::Size dataset_6<double> (Read): 84
+DEAL::Rank dataset_6<double> (Read): 2
+DEAL::Data dataset_6<double> (Read): [[-0, 0, 1, -1, 2, 3, -2, 4, 5, -3, 6, 7], [-4, 8, 9, -5, 10, 11, -6, 12, 13, -7, 14, 15], [-8, 16, 17, -9, 18, 19, -10, 20, 21, -11, 22, 23], [-12, 0, 0, -13, 0, 0, -14, 0, 0, -15, 0, 0], [-16, 24, 25, -17, 26, 27, -18, 28, 29, -19, 30, 31], [-20, 32, 33, -21, 34, 35, -22, 36, 37, -23, 38, 39], [-24, 40, 41, -25, 42, 43, -26, 44, 45, -27, 46, 47]]