Ignore:
Timestamp:
10/04/17 17:02:13 (4 years ago)
Author:
yushan
Message:

EP update part 2

Location:
XIOS/dev/branch_openmp/extern/remap/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/remap/src/mpi_routing.cpp

    r1134 r1289  
    127127        MPI_Info info_null; 
    128128 
    129         MPI_Alloc_mem(nbTarget *sizeof(int), info_null, &targetRank); 
    130         MPI_Alloc_mem(nbSource *sizeof(int), info_null, &sourceRank); 
     129        // MPI_Alloc_mem(nbTarget *sizeof(int), info_null, &targetRank); 
     130        // MPI_Alloc_mem(nbSource *sizeof(int), info_null, &sourceRank); 
     131        MPI_Alloc_mem(nbTarget *sizeof(int), MPI_INFO_NULL, &targetRank); 
     132        MPI_Alloc_mem(nbSource *sizeof(int), MPI_INFO_NULL, &sourceRank); 
    131133 
    132134        targetRankToIndex = new int[mpiSize]; 
  • XIOS/dev/branch_openmp/extern/remap/src/polyg.cpp

    r1220 r1289  
    180180                assert(sc >= -1e-10); // Error: tri a l'env (wrong orientation) 
    181181                double area_gc = triarea(t[0], t[1], t[2]); 
    182                 if(area_gc<=0) printf("area_gc = %e\n", area_gc); 
     182                //if(area_gc<=0) printf("area_gc = %e\n", area_gc); 
    183183                double area_sc_gc_moon = 0; 
    184184                if (d[i]) /* handle small circle case */ 
Note: See TracChangeset for help on using the changeset viewer.