[petsc-dev] getting data out of a PetscFE simulation

Geoffrey Irving irving at naml.us
Tue Jan 28 18:04:01 CST 2014


What's the cleanest way to save data from a petsc finite element
simulation including boundary conditions?  First, is it correct that
the local sections contains dofs for boundary conditions, while the
global section does not?  If so, is the following the right plan?

1. At start, save the DMPlex
2. At start, save the local section
3. Every frame, sync the global vector a local vector and write out in
petsc binary format.

Are there standard binary formats for DMPlex and sections?  All I see
is the following sad commented out call to DMPlexView_Binary.

Geoffrey



More information about the petsc-dev mailing list