Skip to content

Commit 44ca7d7

Browse files
franzpoeschelax3l
andcommitted
Add links to ADIOS2 documentation in comments
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
1 parent 4295aa4 commit 44ca7d7

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

examples/10_streaming_write.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ int main()
9292
// fully interconnected communication meshes for data that needs to be
9393
// read by each reader. A local value dataset can only contain a single
9494
// item per MPI rank, forming an array of length equal to the MPI size.
95+
// https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes
9596

9697
auto e_patches = iteration.particles["e"].particlePatches;
9798
auto numParticles = e_patches["numParticles"];

src/IO/ADIOS/ADIOS2File.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ void WriteDataset::call(ADIOS2File &ba, detail::BufferedPut &bp)
109109
std::nullopt,
110110
ba.variables());
111111

112+
// https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes
112113
if (var.Shape() == adios2::Dims{adios2::LocalValueDim})
113114
{
114115
if (bp.param.extent != Extent{1})
@@ -196,6 +197,7 @@ struct RunUniquePtrPut
196197
bufferedPut.name,
197198
std::nullopt,
198199
ba.variables());
200+
// https://adios2.readthedocs.io/en/v2.9.2/components/components.html#shapes
199201
if (var.Shape() == adios2::Dims{adios2::LocalValueDim})
200202
{
201203
if (bufferedPut.extent != Extent{1})

0 commit comments

Comments
 (0)