Changeset 2314


Ignore:
Timestamp:
03/22/22 15:02:27 (2 years ago)
Author:
ymipsl
Message:

bug fix for unstructured grid feed with area attribute : in some case it was transposed twice instead of once.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/domain.cpp

    r2133 r2314  
    893893 
    894894        if (!area.isEmpty()) 
    895           area.transposeSelf(1, 0); 
     895        { 
     896          CArray<double,2> newArea(area.dataFirst(),shape(ni,nj),duplicateData) ; 
     897          area.reference(newArea) ; 
     898        } 
    896899     } 
    897900 
Note: See TracChangeset for help on using the changeset viewer.