Skip to content
Snippets Groups Projects
Commit 3a4e6940 authored by Podhorszki, Norbert's avatar Podhorszki, Norbert
Browse files

fix selection use in example

parent bde355d3
No related branches found
No related tags found
1 merge request!8Integrate groupless
......@@ -92,7 +92,7 @@ int main( int argc, char* argv[])
// Engine will copy this bounding box from the data pointer into the buffer. Size of the bounding box should match the
// "space" selection which was given above. Default memspace is the full selection.
adios::Selection memspace = adios.SelectionBoundingBox( {1,NX}, {0,1} ); // local dims and offsets; both as list
var2D.SetMemorySelection( sel );
var2D.SetMemorySelection( memspace );
writer->Write<double>( var2D, *Temperature );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment