[petsc-users] DMplex periodicity type
Matthew Knepley
knepley at gmail.com
Thu Feb 12 08:41:41 CST 2026
On Thu, Feb 12, 2026 at 9:37 AM Matteo Semplice via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> Dear all,
>
> regarding the two possible ways to represent periodic meshes in
> DMPlex (
> https://urldefense.us/v3/__https://petsc.org/release/manual/dmplex/*__;Iw!!G_uCfscf7eWS!aZty3mcKlmFws6oDH6dzJajWmHL38hq4105g81qWT-9vNW5RcQ7t39SXetxoJEpVVF_VJno1viNSyiomGVPsLrvdvU75tWZbkMCJaQ$
> ), I have noticed that
> when reading in a GMSH mesh, the periodic topology is created.
>
> Is there a way to read in a mesh and create instead the non-periodic
> topology&local-to-global-map kind of mesh?
That code is not in there. This seems easier to write.
> Or, is it possible to convert
> between the two approaces (i.e. generate a DMPlex that is a quasi-clone
> of a given one, but ready for the other kind of periodicity handling)?
>
This code is not either. This seems harder because you have to choose some
periodic boundary to tear along.
I do not really understand the other periodicity, so it would be difficult
for me to
do before the Fall. The libCEED guys wrote the map version.
Thanks,
Matt
> Bets regards
>
> Matteo
>
> --
> Prof. Matteo Semplice
> Università degli Studi dell’Insubria
> Dipartimento di Scienza e Alta Tecnologia – DiSAT
> Professore Associato
> Via Valleggio, 11 – 22100 Como (CO) – Italia
> tel.: +39 031 2386316
>
>
--
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://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dBeL3LumXFsm8dLmfMgJBRhh1F7zXrHaGD1sf6lSy7pnnzjs2EvBJNzne0yCEx6vObTmNqz-Q0nJ2jo8JqHA$ <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dBeL3LumXFsm8dLmfMgJBRhh1F7zXrHaGD1sf6lSy7pnnzjs2EvBJNzne0yCEx6vObTmNqz-Q0nJ2sF9lMbM$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260212/4ee06b81/attachment.html>
More information about the petsc-users
mailing list