Changeset 1343


Ignore:
Timestamp:
11/22/17 13:19:51 (3 years ago)
Author:
oabramkina
Message:

Correcting grid name in the error message.

Location:
XIOS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/grid.hpp

    r1330 r1343  
    376376                << "Received data size = "      << field.numElements() << " ] " 
    377377                << "The data array does not have the right size! " 
    378                 << "Grid = " << this->GetName()) 
     378                << "Grid = " << this->getId()) 
    379379//#endif 
    380380      this->storeField_arr(field.dataFirst(), stored); 
     
    390390                << "Output data size = "   << field.numElements() << " ] " 
    391391                << "The ouput array does not have the right size! " 
    392                 << "Grid = " << this->GetName()) 
     392                << "Grid = " << this->getId()) 
    393393//#endif 
    394394      this->restoreField_arr(stored, field.dataFirst()); 
     
    446446                << "Local size of dimension " << i << " is " << eachDimSize[i] << "." << std::endl 
    447447                << "Mask size for dimension " << i << " is " << gridMask.extent(i) << "." << std::endl 
    448                 << "Grid = " << this->GetName()) 
     448                << "Grid = " << this->getId()) 
    449449      } 
    450450    } 
     
    512512        //       << "Mask dimension is " << N << "." << std::endl 
    513513        //       << "Input dimension is " << eachDimSize.size() << "." << std::endl 
    514         //       << "Grid = " << this->GetName()) 
     514        //       << "Grid = " << this->getId()) 
    515515      } 
    516516      CArrayBoolTraits<CArray<bool,N> >::resizeArray(gridMask,eachDimSize); 
  • XIOS/trunk/src/node/grid.hpp

    r1078 r1343  
    305305                << "Received data size = "      << field.numElements() << " ] " 
    306306                << "The data array does not have the right size! " 
    307                 << "Grid = " << this->GetName()) 
     307                << "Grid = " << this->getId()) 
    308308      this->storeField_arr(field.dataFirst(), stored); 
    309309   } 
     
    317317                << "Output data size = "   << field.numElements() << " ] " 
    318318                << "The ouput array does not have the right size! " 
    319                 << "Grid = " << this->GetName()) 
     319                << "Grid = " << this->getId()) 
    320320      this->restoreField_arr(stored, field.dataFirst()); 
    321321   } 
     
    360360                << "Local size of dimension " << i << " is " << eachDimSize[i] << "." << std::endl 
    361361                << "Mask size for dimension " << i << " is " << gridMask.extent(i) << "." << std::endl 
    362                 << "Grid = " << this->GetName()) 
     362                << "Grid = " << this->getId()) 
    363363      } 
    364364    } 
Note: See TracChangeset for help on using the changeset viewer.