/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2747 by lgao, Tue Nov 17 05:19:59 2009 UTC revision 2748 by gross, Tue Nov 17 07:32:59 2009 UTC
# Line 2041  Data::calc_minGlobalDataPoint(int& ProcN Line 2041  Data::calc_minGlobalDataPoint(int& ProcN
2041    int numDPPSample=temp.getNumDataPointsPerSample();    int numDPPSample=temp.getNumDataPointsPerSample();
2042    
2043    double local_val, local_min;    double local_val, local_min;
2044      #ifdef PASO_MPI
2045    double next[2];    double next[2];
2046      #endif
2047    int local_lowi=0,local_lowj=0;        int local_lowi=0,local_lowj=0;    
2048    
2049    #pragma omp parallel firstprivate(local_lowi,local_lowj) private(local_val,local_min)    #pragma omp parallel firstprivate(local_lowi,local_lowj) private(local_val,local_min)
# Line 2127  Data::calc_maxGlobalDataPoint(int& ProcN Line 2129  Data::calc_maxGlobalDataPoint(int& ProcN
2129    int numDPPSample=temp.getNumDataPointsPerSample();    int numDPPSample=temp.getNumDataPointsPerSample();
2130    
2131    double local_val, local_max;    double local_val, local_max;
2132      #ifdef PASO_MPI
2133    double next[2];    double next[2];
2134      #endif
2135    int local_highi=0,local_highj=0;      int local_highi=0,local_highj=0;  
2136    
2137    #pragma omp parallel firstprivate(local_highi,local_highj) private(local_val,local_max)    #pragma omp parallel firstprivate(local_highi,local_highj) private(local_val,local_max)

Legend:
Removed from v.2747  
changed lines
  Added in v.2748

  ViewVC Help
Powered by ViewVC 1.1.26