From: eap Date: Tue, 19 Jan 2010 13:08:12 +0000 (+0000) Subject: correct method name X-Git-Tag: V5_1_main_FINAL~241 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a31096b4861e8120cae525fb37e83a6df92ace5;p=tools%2Fmedcoupling.git correct method name - void splitPenta5(typename std::vector< SplitterTetra* >& tetra); + void splitPyram5(typename std::vector< SplitterTetra* >& tetra); --- diff --git a/src/INTERP_KERNEL/SplitterTetra.hxx b/src/INTERP_KERNEL/SplitterTetra.hxx index b9630690c..48a0d8204 100644 --- a/src/INTERP_KERNEL/SplitterTetra.hxx +++ b/src/INTERP_KERNEL/SplitterTetra.hxx @@ -336,7 +336,7 @@ namespace INTERP_KERNEL void sixSplit(const int* const subZone, typename std::vector< SplitterTetra* >& tetra); void calculateGeneral24Tetra(typename std::vector< SplitterTetra* >& tetra); void calculateGeneral48Tetra(typename std::vector< SplitterTetra* >& tetra); - void splitPenta5(typename std::vector< SplitterTetra* >& tetra); + void splitPyram5(typename std::vector< SplitterTetra* >& tetra); void splitConvex(typename MyMeshTypeT::MyConnType targetCell, typename std::vector< SplitterTetra* >& tetra); void calculateSubNodes(const MyMeshTypeT& targetMesh, typename MyMeshTypeT::MyConnType targetCell); diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/INTERP_KERNEL/SplitterTetra.txx index b7a82f1ce..82bce2334 100644 --- a/src/INTERP_KERNEL/SplitterTetra.txx +++ b/src/INTERP_KERNEL/SplitterTetra.txx @@ -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 - void SplitterTetra2::splitPenta5(typename std::vector< SplitterTetra* >& tetra) + void SplitterTetra2::splitPyram5(typename std::vector< SplitterTetra* >& 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* t = new SplitterTetra(_src_mesh, nodes,conn); tetra.push_back(t); }