X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingExtrudedMesh.cxx;h=fb36cb7c8ff3e9e2ac4508db0c6ae86d77c53767;hb=378cb2ebe08f8f4543ef632b2bd5f77fe180f978;hp=c5de4848c2603986a131923c3e361e0774481080;hpb=ec0d2fa019c87f670675131f7ae89228664dc8d4;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx b/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx old mode 100644 new mode 100755 index c5de4848c..fb36cb7c8 --- a/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx +++ b/src/MEDCoupling/MEDCouplingExtrudedMesh.cxx @@ -69,15 +69,12 @@ std::size_t MEDCouplingExtrudedMesh::getHeapMemorySizeWithoutChildren() const return MEDCouplingMesh::getHeapMemorySizeWithoutChildren(); } -std::vector MEDCouplingExtrudedMesh::getDirectChildren() const +std::vector MEDCouplingExtrudedMesh::getDirectChildrenWithNull() const { std::vector ret; - if(_mesh2D) - ret.push_back(_mesh2D); - if(_mesh1D) - ret.push_back(_mesh1D); - if(_mesh3D_ids) - ret.push_back(_mesh3D_ids); + ret.push_back(_mesh2D); + ret.push_back(_mesh1D); + ret.push_back(_mesh3D_ids); return ret; }