[petsc-users] DMPlex total point counts

Nicholas Arnold-Medabalimi narnoldm at umich.edu
Tue Aug 2 15:55:23 CDT 2022


Currently, in my distributed DMPlex object, every so often, I want to look
at total cell counts. To do this in my current implementation, I get the
cell stratum from the DMplex and search through the PetscSF to remove any
overlapped (not owned) cells and then reduce over all the ranks to get the
total cell count. Is there a more graceful way of doing this already built
into DM?


Nicholas Arnold-Medabalimi

Ph.D. Candidate
Computational Aeroscience Lab
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220802/3084e4ef/attachment.html>

More information about the petsc-users mailing list