/[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 1918 by phornby, Thu Oct 23 09:14:13 2008 UTC revision 1921 by phornby, Thu Oct 23 11:32:24 2008 UTC
# Line 541  Data::copyWithMask(const Data& other, Line 541  Data::copyWithMask(const Data& other,
541      throw DataException("Error - size mismatch in arguments to copyWithMask.");      throw DataException("Error - size mismatch in arguments to copyWithMask.");
542    }    }
543    size_t num_points=self.size();    size_t num_points=self.size();
544    
545      // OPENMP 3.0 allows unsigned loop vars.
546    #if defined(_OPENMP) && (_OPENMP < 200805)
547      long i;
548    #else
549    size_t i;    size_t i;
550    #endif
551    #pragma omp parallel for private(i) schedule(static)    #pragma omp parallel for private(i) schedule(static)
552    for (i=0;i<num_points;++i)    for (i=0;i<num_points;++i)
553    {    {

Legend:
Removed from v.1918  
changed lines
  Added in v.1921

  ViewVC Help
Powered by ViewVC 1.1.26