[petsc-users] Output of periodic DM
Duan Junming
junming.duan at epfl.ch
Tue Apr 19 05:17:02 CDT 2022
Dear community,
I create a 1D uniform mesh (3 cells) using DMDA with periodic boundary like this:
x --- x --- x ---
0 1 2
When I output with HDF5 viewer, the solutions "0, 1, 2" are written to the file.
Because I want to do the visualization, I wonder is it possible to write the solutions "0, 1, 2, 0" with another point like
x --- x --- x --- x
0 1 2 0
I hope there is some way to work also in 2D and 3D.
Thank you in advance for any help!
Sincerely
Junming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220419/8e18e099/attachment.html>
More information about the petsc-users
mailing list