int Kernel3d::srcDOF  )  const
 

Definition at line 24 of file kernel3d.cpp.

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

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

00025 {
00026   int dof = 0;
00027   switch(_kernelType) {
00028          //laplace kernels
00029   case KNL_LAP_S_U: dof = 1; break;
00030   case KNL_LAP_D_U: dof = 1; break;
00031   case KNL_LAP_I  : dof = 1; break;
00032          //stokes kernels
00033   case KNL_STK_F_U: dof = 4; break;
00034   case KNL_STK_S_U: dof = 3; break;
00035   case KNL_STK_S_P: dof = 3; break;
00036   case KNL_STK_D_U: dof = 3; break;
00037   case KNL_STK_D_P: dof = 3; break;
00038   case KNL_STK_R_U: dof = 3; break;
00039   case KNL_STK_R_P: dof = 3; break;
00040   case KNL_STK_I  : dof = 3; break;
00041   case KNL_STK_E  : dof = 3; break;
00042          //navier kernels:       //case KNL_NAV_F_U: dof = 3; break; //used for fmm
00043   case KNL_NAV_S_U: dof = 3; break;
00044   case KNL_NAV_D_U: dof = 3; break;
00045   case KNL_NAV_R_U: dof = 3; break;
00046   case KNL_NAV_I  : dof = 3; break;
00047   case KNL_NAV_E  : dof = 3; break;
00048          //others
00049   case KNL_SQRTLAP: dof = 1; break;
00050   case KNL_EXP:     dof = 1; break;
00051          //error
00052   case KNL_ERR:     dof = 0; break;
00053   }
00054   return dof;
00055 }


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