diff --git a/examples/10_streaming_write.cpp b/examples/10_streaming_write.cpp index c48b4c4ef7..387e1bd5ce 100644 --- a/examples/10_streaming_write.cpp +++ b/examples/10_streaming_write.cpp @@ -87,6 +87,7 @@ int main() // fully interconnected communication meshes for data that needs to be // read by each reader. A local value dataset can only contain a single // item per MPI rank, forming an array of length equal to the MPI size. + // https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes auto e_patches = iteration.particles["e"].particlePatches; auto numParticles = e_patches["numParticles"]; diff --git a/src/IO/ADIOS/ADIOS2File.cpp b/src/IO/ADIOS/ADIOS2File.cpp index fd2dd8255a..31efd7d7f7 100644 --- a/src/IO/ADIOS/ADIOS2File.cpp +++ b/src/IO/ADIOS/ADIOS2File.cpp @@ -87,6 +87,7 @@ void WriteDataset::call(ADIOS2File &ba, detail::BufferedPut &bp) adios2::Variable var = ba.m_impl->verifyDataset( bp.param.offset, bp.param.extent, ba.m_IO, bp.name); + // https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes if (var.Shape() == adios2::Dims{adios2::LocalValueDim}) { if (bp.param.extent != Extent{1}) @@ -160,6 +161,7 @@ struct RunUniquePtrPut auto ptr = static_cast(bufferedPut.data.get()); adios2::Variable var = ba.m_impl->verifyDataset( bufferedPut.offset, bufferedPut.extent, ba.m_IO, bufferedPut.name); + // https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes if (var.Shape() == adios2::Dims{adios2::LocalValueDim}) { if (bufferedPut.extent != Extent{1})