Salome HOME
Revert commit bc803f251236fa3b020c (14/03/2020) due to new ForEachLoopDyn implementation
[modules/yacs.git] / src / engine / InlineNode.cxx
index 418ba2b04d0194b9e08c62ef3e17c874ccad2501..fd687044dd02b009fec80be14583aef4b9f87106 100644 (file)
@@ -20,7 +20,6 @@
 #include "InlineNode.hxx"
 #include "Visitor.hxx"
 #include "Container.hxx"
-#include "HomogeneousPoolContainer.hxx"
 #include <iostream>
 
 #define _DEVDEBUG_
@@ -156,18 +155,3 @@ int InlineNode::getMaxLevelOfParallelism() const
   int ret(1); iss >> ret;
   return ret;
 }
-
-void InlineNode::partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap)
-{
-  if(!isDeployable())
-    return ;
-  if(!_container)
-    return ;
-  HomogeneousPoolContainer *contC(dynamic_cast<HomogeneousPoolContainer *>(_container));
-  if(!contC)
-    return ;
-  YACS::BASES::AutoConstRefCnt<PartDefinition> zePd;
-  zePd.takeRef(pd);
-  YACS::BASES::AutoRefCnt<HomogeneousPoolContainer> zeCont(contC->decorate(zePd));
-  setContainer(zeCont);
-}