[petsc-users] AO

Jed Brown jedbrown at mcs.anl.gov
Wed Feb 22 16:59:41 CST 2012


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/5c66e714/attachment-0001.htm>


More information about the petsc-users mailing list