int MatMgnt3d::localPos int  ,
Point3  ,
double  ,
DblNumMat & 
 

return local position

Definition at line 387 of file matmgnt3d.cpp.

References dim(), and samPos().

Referenced by FMM3d::DwnEqu2TrgChk_dgemv(), FMM3d::SrcEqu2DwnChk_dgemv(), FMM3d::SrcEqu2UpwChk_dgemv(), and FMM3d::UpwEqu2TrgChk_dgemv().

00388 {
00389   const DblNumMat& bas = samPos(tp);
00390   positions.resize(dim(), bas.n());
00391   for(int i=0; i<dim(); i++)
00392          for(int j=0; j<positions.n(); j++)
00393                 positions(i,j) = center(i) + radius * bas(i,j);
00394   return (0);
00395 }


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