Skip to Content.
Sympa Menu

charm - Re: [charm] Dynamic insertion of chare array elements

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Dynamic insertion of chare array elements


Chronological Thread 
  • From: Eric Bohm <ebohm AT illinois.edu>
  • To: <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] Dynamic insertion of chare array elements
  • Date: Tue, 25 Jun 2013 13:29:04 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

We normally don't override or modify the insert function.  If you wish to have more control over placement, you should look at section 13.2.2 of the manual.



On 06/24/2013 11:55 AM, vasudevan rengasamy wrote:
Hello,

When I'm inserting elements dynamically into a chare array, I see that the method 
"void CProxyElement_<Charearray class>::insert(int onPE)" is created in .def.h file.

Is there a way to obtain the indices of the array elements within the insert() function when it is invoked?

For example, if I have a statement "myChareArray(10).insert();", how can I obtain the index 10 within the insert function in the definitions file?

Thanks,
Vasudevan


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm




Archive powered by MHonArc 2.6.16.

Top of Page