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

SCM Repository

[diderot] View of /branches/charisee/ertest/vispaper/tensor-field-ops/inner.log
ViewVC logotype

View of /branches/charisee/ertest/vispaper/tensor-field-ops/inner.log

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2925 - (download) (annotate)
Tue Mar 3 22:00:11 2015 UTC (4 years, 7 months ago) by cchiw
File size: 473 byte(s)
example of inner prod
/* Program start */
field#2(3)[3] M = ⊛<#2; %3; $[3]> (load<%3; $[3]> ("../../../data/const-curl3d.nrrd"), bspln3);
vec3 t = [0.1e1, 0.0, 0.0];
field#2(3)[] F = •<#2; %3; $'shp010A; $'shp0109; $[]> (M, t);
int stepsMax = 10;
real epsilon = 0.1e-5;
int grid = 5;
strand RootFind (real xi, real xj, real xk)
{
  output vec3 x = [xi, xj, xk];
  int steps = 0;
  real l = @<#2; %3; $[]> (F, x);
  Update
  {
  stabilize;
    }
  
  Stabilize
  {
  }
  
}
/* Program end */

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