]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
correct method name
authoreap <eap@opencascade.com>
Tue, 19 Jan 2010 13:08:12 +0000 (13:08 +0000)
committereap <eap@opencascade.com>
Tue, 19 Jan 2010 13:08:12 +0000 (13:08 +0000)
-    void splitPenta5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
+    void splitPyram5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);

src/INTERP_KERNEL/SplitterTetra.hxx
src/INTERP_KERNEL/SplitterTetra.txx

index b9630690c8f54c31f6e46f1fcec045ed256b95ec..48a0d82041b945988fca32d51a4a00ebe86388ed 100644 (file)
@@ -336,7 +336,7 @@ namespace INTERP_KERNEL
     void sixSplit(const int* const subZone, typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
     void calculateGeneral24Tetra(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
     void calculateGeneral48Tetra(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
-    void splitPenta5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
+    void splitPyram5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
     void splitConvex(typename MyMeshTypeT::MyConnType                     targetCell,
                      typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra);
     void calculateSubNodes(const MyMeshTypeT& targetMesh, typename MyMeshTypeT::MyConnType targetCell);
index b7a82f1ce18746ef635816e4ed4de32edec17fa9..82bce23341f71324df157d2a88f6019e11061b5c 100644 (file)
@@ -547,7 +547,7 @@ namespace INTERP_KERNEL
         }
       case 5:
         {
-          splitPenta5(tetra);
+          splitPyram5(tetra);
           break;
         }
       default:
@@ -756,9 +756,9 @@ namespace INTERP_KERNEL
    * Splits the NORM_PYRA5 into 2 tetrahedra.
    */
   template<class MyMeshTypeT, class MyMeshTypeS>
-  void SplitterTetra2<MyMeshTypeT, MyMeshTypeS>::splitPenta5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra)
+  void SplitterTetra2<MyMeshTypeT, MyMeshTypeS>::splitPyram5(typename std::vector< SplitterTetra<MyMeshTypeS>* >& tetra)
   {
-    static const int SPLIT_PENTA_5[2][4] = 
+    static const int SPLIT_PYPA5[2][4] = 
       {
         {
           0, 1, 2, 4
@@ -774,7 +774,7 @@ namespace INTERP_KERNEL
     for(int i = 0; i < 2; ++i)
       {
         for(int j = 0; j < 4; ++j)
-          nodes[j] = getCoordsOfSubNode2(SPLIT_PENTA_5[i][j],conn[j]);
+          nodes[j] = getCoordsOfSubNode2(SPLIT_PYPA5[i][j],conn[j]);
         SplitterTetra<MyMeshTypeS>* t = new SplitterTetra<MyMeshTypeS>(_src_mesh, nodes,conn);
         tetra.push_back(t);
       }