/[escript]/trunk/ripley/src/Rectangle.cpp
ViewVC logotype

Diff of /trunk/ripley/src/Rectangle.cpp

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

revision 4586 by jfenwick, Wed Dec 11 06:03:27 2013 UTC revision 4597 by gross, Sun Dec 15 22:36:24 2013 UTC
# Line 4047  escript::Data Rectangle::randomFill(long Line 4047  escript::Data Rectangle::randomFill(long
4047          throw RipleyException("Radius of gaussian filter must be less than half the width/height of a rank");          throw RipleyException("Radius of gaussian filter must be less than half the width/height of a rank");
4048      }      }
4049            
4050      size_t inset=2*radius+1;      // size_t inset=2*radius+1;
4051      size_t Eheight=ext[1]-2*inset;  // how high the E (shared) region is      // size_t Eheight=ext[1]-2*inset;   // how high the E (shared) region is
4052      size_t Swidth=ext[0]-2*inset;      // size_t Swidth=ext[0]-2*inset;
4053            
4054      double* src=new double[ext[0]*ext[1]];      double* src=new double[ext[0]*ext[1]];
4055      esysUtils::randomFillArray(seed, src, ext[0]*ext[1]);        esysUtils::randomFillArray(seed, src, ext[0]*ext[1]);  

Legend:
Removed from v.4586  
changed lines
  Added in v.4597

  ViewVC Help
Powered by ViewVC 1.1.26