32 auto const add_time_series = [
this](
Dataset &&dataset,
bool link =
true) {
33 auto const group = dataset.
group;
34 m_datasets.push_back(std::move(dataset));
35 m_datasets.push_back({group,
"step", 1, H5T_NATIVE_INT, 1, link});
36 m_datasets.push_back({group,
"time", 1, H5T_NATIVE_DOUBLE, 1, link});
41 {
"particles/atoms/box/edges",
"value", 2, H5T_NATIVE_DOUBLE, 3,
false});
44 add_time_series({
"particles/atoms/lees_edwards/offset",
"value", 2,
45 H5T_NATIVE_DOUBLE, 1,
false});
48 add_time_series({
"particles/atoms/lees_edwards/direction",
"value", 2,
49 H5T_NATIVE_INT, 1,
false});
52 add_time_series({
"particles/atoms/lees_edwards/normal",
"value", 2,
53 H5T_NATIVE_INT, 1,
false});
57 {
"particles/atoms/mass",
"value", 2, H5T_NATIVE_DOUBLE, 1,
false});
61 {
"particles/atoms/charge",
"value", 2, H5T_NATIVE_DOUBLE, 1,
false});
63 add_time_series({
"particles/atoms/id",
"value", 2, H5T_NATIVE_INT, 1,
false},
67 {
"particles/atoms/species",
"value", 2, H5T_NATIVE_INT, 1,
false});
71 {
"particles/atoms/position",
"value", 3, H5T_NATIVE_DOUBLE, 3,
false});
75 {
"particles/atoms/velocity",
"value", 3, H5T_NATIVE_DOUBLE, 3,
false});
79 {
"particles/atoms/force",
"value", 3, H5T_NATIVE_DOUBLE, 3,
false});
83 {
"particles/atoms/image",
"value", 3, H5T_NATIVE_INT, 3,
false});
87 {
"connectivity/atoms",
"value", 3, H5T_NATIVE_INT, 2,
false});