/[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 4638 by jfenwick, Thu Jan 30 06:25:10 2014 UTC revision 4650 by jfenwick, Wed Feb 5 04:16:01 2014 UTC
# Line 1869  void Rectangle::interpolateNodesOnFaces( Line 1869  void Rectangle::interpolateNodesOnFaces(
1869  namespace  namespace
1870  {  {
1871      // Calculates a guassian blur colvolution matrix for 2D      // Calculates a guassian blur colvolution matrix for 2D
1872        // See wiki article on the subject    
1873      double* get2DGauss(unsigned radius, double sigma)      double* get2DGauss(unsigned radius, double sigma)
1874      {      {
1875          double* arr=new double[(radius*2+1)*(radius*2+1)];          double* arr=new double[(radius*2+1)*(radius*2+1)];
# Line 1916  namespace Line 1917  namespace
1917    
1918  /* This routine produces a Data object filled with smoothed random data.  /* This routine produces a Data object filled with smoothed random data.
1919  The dimensions of the rectangle being filled are internal[0] x internal[1] points.  The dimensions of the rectangle being filled are internal[0] x internal[1] points.
1920  A parameter radius  dives the size of the stencil used for the smoothing.  A parameter radius  gives the size of the stencil used for the smoothing.
1921  A point on the left hand edge for example, will still require `radius` extra points to the left  A point on the left hand edge for example, will still require `radius` extra points to the left
1922  in order to complete the stencil.  in order to complete the stencil.
1923    

Legend:
Removed from v.4638  
changed lines
  Added in v.4650

  ViewVC Help
Powered by ViewVC 1.1.26