]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Thu, 21 Oct 2010 10:58:09 +0000 (10:58 +0000)
committerageay <ageay>
Thu, 21 Oct 2010 10:58:09 +0000 (10:58 +0000)
src/INTERP_KERNEL/InterpKernelMeshQuality.cxx

index bf465ae3afc3d598ce345e8c8aab5af9093838a5..271771edd8cb9d7240a20ef4ff0dcb278966710a 100644 (file)
@@ -177,7 +177,7 @@ double INTERP_KERNEL::tetraAspectRatio(const double *coo)
   double ab[3]={coo[3]-coo[0],coo[4]-coo[1],coo[5]-coo[2]};
   double ac[3]={coo[6]-coo[0],coo[7]-coo[1],coo[8]-coo[2]};
   double ad[3]={coo[9]-coo[0],coo[10]-coo[1],coo[11]-coo[2]};
-  double detTet=(ab[0]*(ac[1]*ad[2]-ac[2]*ad[1]))+(ab[1]*(ac[2]*ad[0]-ac[0]*ad[2]))+(ab[2]*(ac[0]*ad[1]-ac[1]*ad[2]));
+  double detTet=(ab[0]*(ac[1]*ad[2]-ac[2]*ad[1]))+(ab[1]*(ac[2]*ad[0]-ac[0]*ad[2]))+(ab[2]*(ac[0]*ad[1]-ac[1]*ad[0]));
   //if(detTet<1.e-15)
   //  return std::numeric_limits<double>::max();
   double bc[3]={coo[6]-coo[3],coo[7]-coo[4],coo[8]-coo[5]};