From 9330cca411fc48c3de790e400ae3ff7a9264a316 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 6 Sep 2010 12:36:31 +0000 Subject: [PATCH] Preparation of MEDMEM for SALOME 6x MESHING::setMeshDimension() becomes irrelevant API of MESHING::setConnectivity() has changed --- src/INTERP_KERNELTest/MEDMeshMaker.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/INTERP_KERNELTest/MEDMeshMaker.cxx b/src/INTERP_KERNELTest/MEDMeshMaker.cxx index c7eef5907..444425629 100644 --- a/src/INTERP_KERNELTest/MEDMeshMaker.cxx +++ b/src/INTERP_KERNELTest/MEDMeshMaker.cxx @@ -23,7 +23,6 @@ MEDMEM::MESH* MEDMeshMaker(int dim, int nbedge, MED_EN::medGeometryElement type) { MEDMEM::MESHING* mesh=new MEDMEM::MESHING(); - mesh->setSpaceDimension(dim); int nbnodes; int nbelems; switch (dim) @@ -94,8 +93,7 @@ MEDMEM::MESH* MEDMeshMaker(int dim, int nbedge, MED_EN::medGeometryElement type) conn [ielem*8+7]=ix*(nbedge+1)*(nbedge+1)+(iy+1)*(nbedge+1)+iz+1+1; } } - mesh->setConnectivity(conn, MED_EN::MED_CELL,type); + mesh->setConnectivity(MED_EN::MED_CELL,type,conn); delete [] conn; - mesh->setMeshDimension(dim); return mesh; } -- 2.39.2