ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/Heat.java
(Generate patch)

Comparing jsr166/src/test/loops/Heat.java (file contents):
Revision 1.7 by jsr166, Mon Dec 5 04:08:46 2011 UTC vs.
Revision 1.8 by jsr166, Mon Aug 10 03:13:33 2015 UTC

# Line 184 | Line 184 | public class Heat {
184                      nv[b] = cell
185                          + dtdysq * (prev    - twoc + next)
186                          + dtdxsq * (east[b] - twoc + west[b]);
187
187                  }
188              }
189  
# Line 205 | Line 204 | public class Heat {
204                      newMat[a][b] = cell
205                          + dtdxsq * (oldMat[a+1][b] - twoc + oldMat[a-1][b])
206                          + dtdysq * (oldMat[a][b+1] - twoc + oldMat[a][b-1]);
208
207                  }
208              }
209  
# Line 229 | Line 227 | public class Heat {
227              }
228  
229              edges(oldm, llb, lub, 0);
232
230          }
231  
232          /** Fills in edges with boundary values. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines