void Kernel3d::homogeneousDeg vector< double > &   )  const
 

homogeneous degree, vector size == sourceDegreeOfFreedom

Definition at line 111 of file kernel3d.cpp.

References _kernelType, KNL_EXP, KNL_NAV_S_U, KNL_SQRTLAP, and KNL_STK_F_U.

Referenced by MatMgnt3d::setup().

00112 {
00113   switch(_kernelType) {
00114          //laplace
00115   case KNL_LAP_S_U: degreeVec.resize(1); degreeVec[0]=1; break;
00116          //stokes
00117   case KNL_STK_F_U: degreeVec.resize(4); degreeVec[0]=1; degreeVec[1]=1; degreeVec[2]=1; degreeVec[3]=2; break;
00118          //navier
00119   case KNL_NAV_S_U: degreeVec.resize(3); degreeVec[0]=1; degreeVec[1]=1; degreeVec[2]=1; break;
00120          //others
00121   case KNL_SQRTLAP: degreeVec.resize(1); degreeVec[0]=0.5; break;
00122   case KNL_EXP    : degreeVec.resize(0); break;
00123   default: assert(0);
00124   }
00125   return;
00126 }


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