Changeset 955


Ignore:
Timestamp:
09/30/16 13:26:11 (7 years ago)
Author:
yushan
Message:

adding grid name for error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/grid.hpp

    r943 r955  
    305305                << "[ Awaiting data of size = " << this->getDataSize() << ", " 
    306306                << "Received data size = "      << field.numElements() << " ] " 
    307                 << "The data array does not have the right size!") 
     307                << "The data array does not have the right size! " 
     308                << "Grid = " << this->GetName()) 
    308309      this->storeField_arr(field.dataFirst(), stored); 
    309310   } 
     
    316317                << "[ Size of the data = " << this->getDataSize() << ", " 
    317318                << "Output data size = "   << field.numElements() << " ] " 
    318                 << "The ouput array does not have the right size!") 
     319                << "The ouput array does not have the right size! " 
     320                << "Grid = " << this->GetName()) 
    319321      this->restoreField_arr(stored, field.dataFirst()); 
    320322   } 
     
    358360                << "The mask has one dimension whose size is different from the one of the local grid." << std::endl 
    359361                << "Local size of dimension " << i << " is " << eachDimSize[i] << "." << std::endl 
    360                 << "Mask size for dimension " << i << " is " << gridMask.extent(i) << "."); 
     362                << "Mask size for dimension " << i << " is " << gridMask.extent(i) << "." << std::endl 
     363                << "Grid = " << this->GetName()) 
    361364      } 
    362365    } 
Note: See TracChangeset for help on using the changeset viewer.