Salome HOME
Synchronize adm files
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingExtrudedMesh.cxx
old mode 100644 (file)
new mode 100755 (executable)
index c5de484..fb36cb7
@@ -69,15 +69,12 @@ std::size_t MEDCouplingExtrudedMesh::getHeapMemorySizeWithoutChildren() const
   return MEDCouplingMesh::getHeapMemorySizeWithoutChildren();
 }
 
-std::vector<const BigMemoryObject *> MEDCouplingExtrudedMesh::getDirectChildren() const
+std::vector<const BigMemoryObject *> MEDCouplingExtrudedMesh::getDirectChildrenWithNull() const
 {
   std::vector<const BigMemoryObject *> 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;
 }