I do not have any DG examples, but I do regularly refined CG for Poisson in SNES ex12. Basically, you can use DMPlex to represent an unstructured grid, and regularly refine using -dm_refine. If you want adaptive refinement, that is possible in serial using mesh generators, and in parallel using Pragmatic, but the interface is not well-developed.
Matt On Thu, Feb 11, 2016 at 9:40 PM, Wei Zhang <[email protected]> wrote: > Dear everyone: > I am planning to write a parallel running DG N-S solver where I want to > do mesh refinement. I want to know if there is any example I can start with? > > /Wei > -- 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
