From: Anthony Geay Date: Wed, 11 Feb 2015 11:08:53 +0000 (+0100) Subject: MEDFileCMesh::setGroupAtLevel X-Git-Tag: V7_6_0a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3aeeb62781ed3f27c7d8fb1d854590a203206451;p=modules%2Fmed.git MEDFileCMesh::setGroupAtLevel --- diff --git a/src/MEDLoader/Swig/MEDLoaderCommon.i b/src/MEDLoader/Swig/MEDLoaderCommon.i index 85eba32d2..5f5824546 100644 --- a/src/MEDLoader/Swig/MEDLoaderCommon.i +++ b/src/MEDLoader/Swig/MEDLoaderCommon.i @@ -606,6 +606,13 @@ namespace ParaMEDMEM PyList_SetItem(res,1,PyString_FromString(what.c_str())); return res; } + + void setGroupsAtLevel(int meshDimRelToMaxExt, PyObject *li, bool renum=false) throw(INTERP_KERNEL::Exception) + { + std::vector grps; + convertFromPyObjVectorOfObj(li,SWIGTYPE_p_ParaMEDMEM__DataArrayInt,"DataArrayInt",grps); + self->setGroupsAtLevel(meshDimRelToMaxExt,grps,renum); + } PyObject *areFamsEqual(const MEDFileMesh *other) const throw(INTERP_KERNEL::Exception) { @@ -806,13 +813,6 @@ namespace ParaMEDMEM tmp->incrRef(); return SWIG_NewPointerObj(SWIG_as_voidptr(tmp),SWIGTYPE_p_ParaMEDMEM__DataArrayInt, SWIG_POINTER_OWN | 0 ); } - - void setGroupsAtLevel(int meshDimRelToMaxExt, PyObject *li, bool renum=false) throw(INTERP_KERNEL::Exception) - { - std::vector grps; - convertFromPyObjVectorOfObj(li,SWIGTYPE_p_ParaMEDMEM__DataArrayInt,"DataArrayInt",grps); - self->setGroupsAtLevel(meshDimRelToMaxExt,grps,renum); - } void setMeshes(PyObject *li, bool renum=false) throw(INTERP_KERNEL::Exception) {