Wait for all incoming

   1644   2   2
User Avatar
Member
53 posts
Joined: 7月 2013
Offline
Hi,
I have a flip simulation with whitewater and wedges. To save memory I want to do all flip sims first and if all of them are done, I want to start the whitewater process. How can I do this? The waitForAll seems not to be useful in this case because the wegdes are lost after the node. And all partioners I tried start as soon as the first flip sim is done. In the image you can see my try with partition by range with fixed count which waits until one wedge is done before it starts the next task but I want to wait until all wedges are done before continuing.

Attachments:
tops.JPG (29.3 KB)

User Avatar
Member
72 posts
Joined:
Offline
After a wait for all you can add a “partition expand” TOP node and you will get your workitems back. Think of partitions a bit like packed geometry. SO the expand TOP will unpack and give you back your workitems+attributes.
User Avatar
Member
53 posts
Joined: 7月 2013
Offline
Great! Works really fine. Thanks a lot.
  • Quick Links