MESHING::setMeshDimension() becomes irrelevant
API of MESHING::setConnectivity() has changed
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)
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;
}