Changeset 1879
- Timestamp:
- 05/15/20 09:50:29 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/domain.cpp
r1878 r1879 2726 2726 } 2727 2727 } 2728 }2729 else if (type == type_attr::unstructured || type == type_attr::gaussian)2730 {2731 lonvalue_1d.resize(nbLonInd);2732 lonvalue_1d = lonvalue ;2733 if (hasBounds)2734 {2735 bounds_lon_1d.resize(nvertex, nbLonInd);2736 bounds_lon_1d = bounds_lonvalue ;2728 else if (type == type_attr::unstructured || type == type_attr::gaussian) 2729 { 2730 lonvalue_1d.resize(nbLonInd); 2731 lonvalue_1d = lonvalue ; 2732 if (hasBounds) 2733 { 2734 bounds_lon_1d.resize(nvertex, nbLonInd) ; 2735 bounds_lon_1d = bounds_lonvalue ; 2736 } 2737 2737 } 2738 2738 } … … 2940 2940 } 2941 2941 2942 // fill the area attribute 2943 area.resize(ni,nj); 2944 for (int j = 0; j < nj; ++j) 2945 { 2946 for (int i = 0; i < ni; ++i) 2947 { 2948 int k = j * ni + i; 2949 area(i,j) = areavalue(k) ; 2950 } 2951 } 2942 2952 } 2943 2953 }
Note: See TracChangeset
for help on using the changeset viewer.