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

fix heat transfer read to read all steps at once

parent 272803ad
No related branches found
No related tags found
1 merge request!102Variables3
......@@ -105,8 +105,8 @@ int main(int argc, char *argv[])
double *T = new double[vT->GetNSteps() * readsize[0] * readsize[1]];
// Create a 2D selection for the subset
adios::SelectionBoundingBox sel(offset, readsize);
vT->SetSelection(sel);
vT->SetSelection(offset, readsize);
vT->SetStepSelection(0, vT->GetNSteps());
// Arrays are read by scheduling one or more of them
// and performing the reads at once
......
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