--- branches/charisee/test/tracto.diderot 2014/11/25 19:45:46 2839 +++ branches/charisee/test/tracto.diderot 2014/11/25 19:46:43 2840 @@ -21,14 +21,14 @@ vec3 pos = seedPoint; //// principleEvec : tensor[3,3] -> vec3 //// * : real x vec3 -> vec3 - vec3 guide = real(seedSign) * principleEvec(F@seedPoint); + vec3 guide = real(seedSign) * principleEvec(F(seedPoint)); real aniso = 0.0; update { if (inside (pos,F)) { //// @ : field x vec -> tensor[3,3] - tensor[3,3] ten = F@pos; + tensor[3,3] ten = F(pos); //// CL : tensor[3,3] -> real aniso = CL(ten); // "CL" is a linear anisotropy measure //// < : real x real -> bool @@ -44,7 +44,7 @@ //// * : real x real -> real //// * : real x vec3 -> vec3 //// + : vec3 x vec3 -> vec3 - evec = principleEvec(F @ (pos + 0.5*stepSz*evec)); + evec = principleEvec(F (pos + 0.5*stepSz*evec)); if (dot(evec, guide) < 0.0) { evec = -evec; } // fix eigenvector sign guide = evec; pos = pos + stepSz*evec; @@ -63,4 +63,8 @@ } + } + +initially [ LIC(xi, yi) | yi in 0..(imgSizeY-1), xi in 0..(imgSizeX-1) ]; +
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: ,8 @@ } + } + +initially [ LIC(xi, yi) | yi in 0..(imgSizeY-1), xi in 0..(imgSizeX-1) ]; +