Changeset 2252 for XIOS/trunk


Ignore:
Timestamp:
11/04/21 10:13:23 (3 years ago)
Author:
ymipsl
Message:

Remove debug output.
YM

File:
1 edited

Legend:

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

    r2250 r2252  
    451451      for (size_t nn = 0; nn < nbNodes_; ++nn) 
    452452      { 
    453         cout<<"MESH : "<<"node inserted : ("<< lonvalue(nn)<<","<< latvalue(nn)<<") index glo "<<nodeStart + nn<<" : hash =>   " ; 
     453//        cout<<"MESH : "<<"node inserted : ("<< lonvalue(nn)<<","<< latvalue(nn)<<") index glo "<<nodeStart + nn<<" : hash =>   " ; 
    454454        hashValues = CMesh::createHashes(lonvalue(nn), latvalue(nn)); 
    455455        for (size_t nh = 0; nh < 4; ++nh) 
    456456        { 
    457457          nodeHash2IdxGlo[hashValues[nh]].push_back(nodeStart + nn); 
    458           cout<<hashValues[nh]<<"    "; 
    459         } 
    460         cout<<endl ; 
     458//          cout<<hashValues[nh]<<"    "; 
     459        } 
     460//        cout<<endl ; 
    461461      } 
    462462      pNodeGlobalIndex = new CClientClientDHTSizet (nodeHash2IdxGlo, comm); 
     
    515515        for (int ne = 0; ne < nbEdges_; ++ne) 
    516516        { 
    517           cout<<"MESH : "<<"insert edge " ; 
     517//          cout<<"MESH : "<<"insert edge " ; 
    518518          for (int nv = 0; nv < nvertex; ++nv) 
    519519          { 
     
    533533              nodeIdxGlo2 = it->second[0]; 
    534534            
    535             cout<<"("<<bounds_lon(nv, ne)<<","<<bounds_lat(nv, ne)<<")" ; 
     535//            cout<<"("<<bounds_lon(nv, ne)<<","<<bounds_lat(nv, ne)<<")" ; 
    536536          } 
    537537          size_t edgeIdxGlo = nbEdgesAccum + ne; 
    538538          edgeHash2IdxGlo[ hashPairOrdered(nodeIdxGlo1, nodeIdxGlo2) ].push_back(edgeIdxGlo); 
    539           cout<<"  nodes Id : "<<nodeIdxGlo1<<"&"<<nodeIdxGlo2<<" ; edge Id : "<<edgeIdxGlo<<" with hash : "<<hashPairOrdered(nodeIdxGlo1, nodeIdxGlo2)<<endl ; 
     539//          cout<<"  nodes Id : "<<nodeIdxGlo1<<"&"<<nodeIdxGlo2<<" ; edge Id : "<<edgeIdxGlo<<" with hash : "<<hashPairOrdered(nodeIdxGlo1, nodeIdxGlo2)<<endl ; 
    540540        } 
    541541      } // nodesAreWritten 
     
    715715      MPI_Scan(&nbFacesOnProc, &nbFacesAccum, 1, MPI_UNSIGNED_LONG, MPI_SUM, comm); 
    716716      nbFacesAccum -= nbFaces_; 
    717       cout<<bounds_lon<<endl ; 
    718       cout<<bounds_lat<<endl ; 
     717//      cout<<bounds_lon<<endl ; 
     718//      cout<<bounds_lat<<endl ; 
    719719 
    720720      // Case (1): edges have been previously generated 
     
    800800              size_t faceIdxGlo = nbFacesAccum + nf; 
    801801              size_t edgeHash = hashPairOrdered(it1->second[0], it2->second[0]); 
    802               cout<<"MESH : "<<"find edge : ("<<bounds_lon(nv1,nf)<<","<<bounds_lat(nv1,nf)<<")&("<<bounds_lon(nv2,nf)<<","<<bounds_lat(nv2,nf) 
    803                   <<") ;  edgeHash "<<edgeHash<<" with node index : "<<it1->second[0]<<" & "<<it2->second[0]<<endl ; 
     802//              cout<<"MESH : "<<"find edge : ("<<bounds_lon(nv1,nf)<<","<<bounds_lat(nv1,nf)<<")&("<<bounds_lon(nv2,nf)<<","<<bounds_lat(nv2,nf) 
     803//                  <<") ;  edgeHash "<<edgeHash<<" with node index : "<<it1->second[0]<<" & "<<it2->second[0]<<endl ; 
    804804              itEdgeHash = edgeHash2IdxGlo.find(edgeHash); 
    805805              size_t edgeIdxGlo = itEdgeHash->second[0]; 
Note: See TracChangeset for help on using the changeset viewer.