Thanks Jed. On Wed, Feb 22, 2012 at 2:59 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Wed, Feb 22, 2012 at 16:52, Mohammad Mirzadeh <mirzadeh at gmail.com>wrote: > >> Should I be worried about function call overhead if make calls like >> AOXXXXToYYYY(ao, 1, &node) for each node when setting up the linear system? >> If so, is there an array where AO internally saves the mapping information >> that I can access or do I need to first save the mapping once and reuse it? > > > If you only need to do it once, the function call overhead should not be a > big deal. If you need to apply the mapping frequently, it's better to do it > in batches. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120222/42fece4c/attachment.htm>
