Ignore:
Timestamp:
04/25/24 15:05:23 (2 months ago)
Author:
jderouillat
Message:

Delete boost dependencies, the few features used are replaced by functions stored in extern/boost_extraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/mesh.cpp

    r2409 r2629  
    66 
    77#include "mesh.hpp" 
    8 #include <boost/functional/hash.hpp> 
     8#include "utils.hpp" 
    99//#include <unordered_map> 
    1010 
     
    21032103    CArray<double, 2> faceToNodes (nvertex, nbFaces); 
    21042104 
    2105     std::unordered_map <pairDouble, int, boost::hash<pairDouble> > mapNodes; 
     2105    std::unordered_map <pairDouble, int, pair_xios_hash> mapNodes; 
    21062106 
    21072107    for (int nf = 0; nf < nbFaces; ++nf) 
     
    21192119 
    21202120    // faceToFaces connectivity 
    2121     std::unordered_map <pairInt, int, boost::hash<pairInt> > mapEdges; 
     2121    std::unordered_map <pairInt, int, pair_xios_hash> mapEdges; 
    21222122    faceToFaces.resize(nvertex, nbFaces); 
    21232123    CArray<int, 2> edgeToFaces(2, nbFaces*nvertex); // max possible 
Note: See TracChangeset for help on using the changeset viewer.