<div style="font-family: Arial, sans-serif; font-size: 14px;"><div style="font-size: 16px; white-space: pre-wrap; text-decoration: none; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 20px 0px; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; color: rgb(209, 213, 219);"><span></span></div><span style="font-family: "Trebuchet MS", sans-serif;">Hi,</span><div><br></div><div><span style="font-family: "Trebuchet MS", sans-serif;">I am currently using DMPlex in my code. It runs serially at the moment, but I'm interested in adding parallel options. Here is my workflow:</span></div><div><br></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Create a DMPlex mesh from GMSH.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Reorder it with DMPlexPermute.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Create necessary pre-processing arrays related to the mesh/problem.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Create field(s) with multi-dofs.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Create residual vectors.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">Define a function to calculate the residual for each cell and, use SNES.</span></div><div><span style="font-family: "Trebuchet MS", sans-serif;">As you can see, I'm not using FV or FE structures (most examples do). Now, I'm trying to implement this in parallel using a similar approach. However, I'm struggling to understand how to create corresponding vectors and how to obtain index sets for each processor. Is there a tutorial or paper that covers this topic?</span></div><div><br></div><span style="font-family: "Trebuchet MS", sans-serif;">Thank you.</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span style="font-family: "Trebuchet MS", sans-serif;">Guer.</span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
<div class="protonmail_signature_block-user protonmail_signature_block-empty">
</div>
<div class="protonmail_signature_block-proton">
Sent with <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a> secure email.
</div>
</div>