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

# SCM Repository

[diderot] Diff of /trunk/doc/probe/paper.tex
 [diderot] / trunk / doc / probe / paper.tex

# Diff of /trunk/doc/probe/paper.tex

revision 274, Wed Aug 11 16:21:39 2010 UTC revision 275, Wed Aug 11 16:45:29 2010 UTC
# Line 235  Line 235
235    }    }
236
237    double vx = 0.0    double vx = 0.0
238    for (int i = 1-s;  i < s;  i++) {    for (int i = 1-s;  i <= s;  i++) {
239      double vy = 0.0      double vy = 0.0
240      for (int j = 1-s;  j < s;  j++) {      for (int j = 1-s;  j <= s;  j++) {
241        double vz = 0.0;        double vz = 0.0;
242        for (int k = 1-s;  k < s;  k++) {        for (int k = 1-s;  k <= s;  k++) {
243          vz += V[nx+i][ny+j][nz+k] * hz[k+s-1];          vz += V[nx+i][ny+j][nz+k] * hz[k+s-1];
244        }        }
245        vy += vz * hy[j+s-1];        vy += vz * hy[j+s-1];
# Line 280  Line 280
280    hz = a + t*(b + t*(c + t*d));    hz = a + t*(b + t*(c + t*d));
281
282    double vy[4], vz[4];    double vy[4], vz[4];
283    for (int i = 1-s;  i < s;  i++) {    for (int i = 1-s;  i <= s;  i++) {
284      for (int j = 1-s;  j < s;  j++) {      for (int j = 1-s;  j <= s;  j++) {
285        double4 v = (double4) (        double4 v = (double4) (
286            V[nx+i][ny+j][nz-1],            V[nx+i][ny+j][nz-1],
287            V[nx+i][ny+j][nz],            V[nx+i][ny+j][nz],

Legend:
 Removed from v.274 changed lines Added in v.275

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