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.3 by jsr166, Mon Sep 20 20:44:17 2010 UTC vs.
Revision 1.4 by jsr166, Sat Oct 16 16:22:56 2010 UTC

# Line 150 | Line 150 | public class Heat {
150          }
151  
152  
153 <        /** Update all cells **/
153 >        /** Updates all cells. */
154          final void compstripe(double[][] newMat, double[][] oldMat) {
155  
156              // manually mangled to reduce array indexing
# Line 213 | Line 213 | public class Heat {
213          }
214  
215  
216 <        /** Initialize all cells **/
216 >        /** Initializes all cells. */
217          final void init() {
218              final int llb = (lb == 0) ? 1 : lb;
219              final int lub = (ub == nx) ? nx - 1 : ub;
# Line 232 | Line 232 | public class Heat {
232  
233          }
234  
235 <        /** Fill in edges with boundary values **/
235 >        /** Fills in edges with boundary values. */
236          final void edges(double [][] m, int llb, int lub, double t) {
237  
238              for (int a = llb; a < lub; a++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines