int Kernel3d::trgDOF  )  const
 

Definition at line 58 of file kernel3d.cpp.

References _kernelType, KNL_EXP, KNL_LAP_I, KNL_NAV_E, KNL_NAV_I, KNL_STK_E, and KNL_STK_I.

Referenced by FMM3d::DwnEqu2TrgChk_dgemv(), kernel(), FMM3d::SrcEqu2DwnChk_dgemv(), FMM3d::SrcEqu2TrgChk_dgemv(), FMM3d::SrcEqu2UpwChk_dgemv(), MatMgnt3d::trgDOF(), KnlMat3d::trgDOF(), and FMM3d::UpwEqu2TrgChk_dgemv().

00059 {
00060   int dof = 0;
00061   switch(_kernelType) {
00062          //laplace kernels
00063   case KNL_LAP_S_U: dof = 1; break;
00064   case KNL_LAP_D_U: dof = 1; break;
00065   case KNL_LAP_I  : dof = 1; break;
00066          //stokes kernels
00067   case KNL_STK_F_U: dof = 3; break;
00068   case KNL_STK_S_U: dof = 3; break;
00069   case KNL_STK_S_P: dof = 1; break;
00070   case KNL_STK_D_U: dof = 3; break;
00071   case KNL_STK_D_P: dof = 1; break;
00072   case KNL_STK_R_U: dof = 3; break;
00073   case KNL_STK_R_P: dof = 1; break;
00074   case KNL_STK_I  : dof = 3; break;
00075   case KNL_STK_E  : dof = 3; break;
00076          //navier kernels:       //  case KNL_NAV_F_U: dof = 3; break; //used for fmm
00077   case KNL_NAV_S_U: dof = 3; break;
00078   case KNL_NAV_D_U: dof = 3; break;
00079   case KNL_NAV_R_U: dof = 3; break;
00080   case KNL_NAV_I  : dof = 3; break;
00081   case KNL_NAV_E  : dof = 3; break;
00082          //others
00083   case KNL_SQRTLAP: dof = 1; break;
00084   case KNL_EXP    : dof = 1; break;
00085          //error
00086   case KNL_ERR:     dof = 0; break;
00087   }
00088   return dof;
00089 }


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