- Timestamp:
- 06/11/15 12:04:52 (9 years ago)
- Location:
- XIOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-1.0/src/output/nc4_data_output.cpp
r614 r615 607 607 if (!axis->bounds.isEmpty()) 608 608 { 609 CArray<double,2> axisBounds( zoom_size, 2);609 CArray<double,2> axisBounds(2, zoom_size); 610 610 for (int i = 0; i < zoom_size; i++) 611 611 { 612 axisBounds( i, 0) = axis->bounds(i + zoom_begin, 0);613 axisBounds( i, 1) = axis->bounds(i + zoom_begin, 1);612 axisBounds(0, i) = axis->bounds(i + zoom_begin, 0); 613 axisBounds(1, i) = axis->bounds(i + zoom_begin, 1); 614 614 } 615 615 SuperClassWriter::writeData(axisBounds, axisBoundsId, isCollective, 0); -
XIOS/trunk/src/output/nc4_data_output.cpp
r614 r615 607 607 if (!axis->bounds.isEmpty()) 608 608 { 609 CArray<double,2> axisBounds( zoom_size, 2);609 CArray<double,2> axisBounds(2, zoom_size); 610 610 for (int i = 0; i < zoom_size_srv; i++) 611 611 { 612 axisBounds( i, 0) = axis->bounds(i + zoom_begin_srv, 0);613 axisBounds( i, 1) = axis->bounds(i + zoom_begin_srv, 1);612 axisBounds(0, i) = axis->bounds(i + zoom_begin_srv, 0); 613 axisBounds(1, i) = axis->bounds(i + zoom_begin_srv, 1); 614 614 } 615 615 SuperClassWriter::writeData(axisBounds, axisBoundsId, isCollective, 0);
Note: See TracChangeset
for help on using the changeset viewer.