[petsc-dev] DMPlexCreateNaturalVector

Alexis Marboeuf alexis.marboeuf at hotmail.fr
Tue Nov 23 12:36:04 CST 2021


Hi Matt,
Thank you for your help. We can continue this conversation under your merge request on gitlab.
Thanks,
Alexis

________________________________
De : Matthew Knepley <knepley at gmail.com>
Envoyé : mardi 23 novembre 2021 01:24
À : Alexis Marboeuf <alexis.marboeuf at hotmail.fr>
Cc : petsc-dev at mcs.anl.gov <petsc-dev at mcs.anl.gov>
Objet : Re: [petsc-dev] DMPlexCreateNaturalVector

On Mon, Nov 22, 2021 at 7:24 PM Matthew Knepley <knepley at gmail.com<mailto:knepley at gmail.com>> wrote:
On Mon, Nov 22, 2021 at 7:21 PM Alexis Marboeuf <alexis.marboeuf at hotmail.fr<mailto:alexis.marboeuf at hotmail.fr>> wrote:
Dear PETSc Team,

I am writing a DMPlexCreateNaturalVector routine in src/dm/impls/plex/plexnatural.c. What is the way to properly interface the call such as for DMCreateGlobalVector? In particular, do you want to unify the call with its DMDA counterpart DMDACreateNaturalVector of src/dm/impls/da/dadist.c?

This exists currently. However, we are debating how it should behave. Currently the natural vector has a global order that matches the
original global order, but has the current partition. It could be that we want a vector that matches the original partition, so we are discussing
this online.

I forgot to point you to the discussion:

  https://gitlab.com/petsc/petsc/-/merge_requests/4547

  Thanks,

     Matt

  Thanks,

     Matt

Thanks,
Alexis


--
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/>


--
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-dev/attachments/20211123/cd553fd0/attachment-0001.html>


More information about the petsc-dev mailing list