Re: [petsc-users] grid adaptivity with dmforest

2025-02-19 Thread Matthew Knepley
On Wed, Feb 19, 2025 at 11:18 AM Preda Silvia via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi, > > > > I’m using the toycode below to manage adaptivity using a DMForest, based > on p4est. > > > > The code simply performs three adaptivity steps on a square grid > [0,1]x[0,1], uniformly refin

[petsc-users] grid adaptivity with dmforest

2025-02-19 Thread Preda Silvia via petsc-users
Hi, I'm using the toycode below to manage adaptivity using a DMForest, based on p4est. The code simply performs three adaptivity steps on a square grid [0,1]x[0,1], uniformly refined at level 2 at the beginning. The minimum and the maximum level of refinement are set to 1 and 5, respectively.