Ignore:
Timestamp:
07/26/22 15:26:52 (2 years ago)
Author:
jderouillat
Message:

Set the code structure to compute the hash value of an element based on its attributs, use for now before writing an element in a file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/attribute_array_impl.hpp

    r2305 r2386  
    117117      else return false;   
    118118    } 
     119   
     120    template <typename T_numtype, int N_rank> 
     121    int CAttributeArray<T_numtype,N_rank>::computeHash(void) 
     122    { 
     123      ERROR("CAttributeArray::computeHash(void)", 
     124       << "NOT IMPLEMENTED FOR NOW !"); 
     125      return std::hash<string>{}( toString() ); 
     126    } 
    119127 
    120128    template <typename T_numtype, int N_rank> 
Note: See TracChangeset for help on using the changeset viewer.