From: eap Date: Mon, 6 Sep 2010 12:36:31 +0000 (+0000) Subject: Preparation of MEDMEM for SALOME 6x X-Git-Tag: MED_For_6x_pre_Delivery~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9330cca411fc48c3de790e400ae3ff7a9264a316;p=tools%2Fmedcoupling.git Preparation of MEDMEM for SALOME 6x MESHING::setMeshDimension() becomes irrelevant API of MESHING::setConnectivity() has changed --- 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; }