Changeset 2450


Ignore:
Timestamp:
01/03/23 11:24:00 (2 years ago)
Author:
jderouillat
Message:

Fix commit 2449 related to read for unstructured domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS2/trunk/src/io/nc4_data_input.cpp

    r2449 r2450  
    144144    // Verify the compatibility of dimension of declared grid and real grid in file 
    145145    int realGridDim = 1; 
    146     bool isUnstructuredGrid; 
     146    bool isUnstructuredGrid(true); 
    147147    bool domainNotExplicitelyDefined(false); 
    148148    for (int idom=0;idom<domainP.size();idom++) 
    149149    { 
    150       if ( (!domainP[idom]->type.isEmpty())&& (!domainP[idom]->type.getValue()!=CDomain::type_attr::unstructured)) 
     150      if ( (!domainP[idom]->type.isEmpty())&& (domainP[idom]->type.getValue()!=CDomain::type_attr::unstructured)) 
    151151      { 
    152152        isUnstructuredGrid = false; 
Note: See TracChangeset for help on using the changeset viewer.