Point3 Let3d::center int  gNodeIdx  ) 
 

Definition at line 342 of file let3d.cpp.

References center(), depth(), dim(), path2Node(), and radius().

00343 {
00344   Point3 ll( center() - Point3(radius()) );
00345   int tmp = pow2(depth(gNodeIdx));
00346   Index3 pathLcl(path2Node(gNodeIdx));
00347   Point3 res;
00348   for(int d=0; d<dim(); d++) {
00349          res(d) = ll(d) + (2*radius()) * (pathLcl(d)+0.5) / double(tmp);
00350   }
00351   return res;
00352 }


Generated on Sun Dec 4 19:24:40 2005 for fmm3d by  doxygen 1.4.5