[petsc-users] How to use khash in PETSc?

Matthew Knepley knepley at gmail.com
Sun Mar 24 18:39:28 CDT 2019


On Sun, Mar 24, 2019 at 12:38 PM Fande Kong via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Hi All,
>
> Since PetscTable will be replaced by khash in the future somehow,  it is
> better to use khash for new implementations. I was wondering where I can
> find some examples that use khash? Do we have any petsc wrappers of khash?
>

First look here:


https://bitbucket.org/petsc/petsc/src/master/include/petsc/private/hashseti.h

and the other associated files (setij, mapi, mapij). Lisandro did a good
job organizing
these, and we might have already defined what you want.

  Thanks,

     Matt


> Thanks,
>
> Fande,
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190324/13b2bc22/attachment.html>


More information about the petsc-users mailing list