Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/rtest/tests/heron/heron.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/rtest/tests/heron/heron.diderot

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

revision 4496, Sat Sep 3 13:52:11 2016 UTC revision 4497, Sat Sep 3 14:12:36 2016 UTC
# Line 1  Line 1 
1  #version 2.0  #version 2.0
2    
3  /*! \file heron.diderot  /*! \file heron.diderot
4   *   *
5   * \author John Reppy   * \author John Reppy
# Line 16  Line 17 
17   * All rights reserved.   * All rights reserved.
18   */   */
19    
20  input int{} args = load("../../data/numbers.nrrd");  input int{} args = load_sequence ("../../data/numbers.nrrd");
21  int nArgs = length(args);  int nArgs = length(args);
22  real eps = 0.00001;  real eps = 0.00001;
23    
# Line 26  Line 27 
27      int iter = 0;      int iter = 0;
28      output vec4 out = [0,0,0,0];        // value, root, iters, error      output vec4 out = [0,0,0,0];        // value, root, iters, error
29    
30      initially {      start {
31          if (arg <= 0) {          if (arg <= 0) {
32              stabilize;              stabilize;
33          }          }
# Line 45  Line 46 
46    
47  }  }
48    
49  collection { SqRoot(args{i}) | i in 0 .. nArgs-1 }  create_collection { SqRoot(args{i}) | i in 0 .. nArgs-1 }

Legend:
Removed from v.4496  
changed lines
  Added in v.4497

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0