Muon Detector NMT Senior Design Team 2012-2013

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

Multiple class instances using Parallel For loop

I could have sworn that, in past research, I found an example of using the parallel for loop option with a class to avoid having to copy and paste every time a new instance was needed (instead for loop would adjust # of instances needed)

Is this even possible and if so, does anyone have any examples?

 

A few notes:

- In my situation, data is independent from each other in each class so parallel execution is desired option

- I already have multiple copy pasted instances of class so reentrancy is not the issue (many msg boards seem to have this as the answer)

- Main objective is to experiment with processor efficiency (which is a whole discussion in of itself)

- Unable to post code

 

Thanks for any help on a mechanism to achieve multiple instances of class (or multiple objects)

0 Kudos
Message 1 of 1
(326 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.