<div dir="ltr"><div><div><div><div><div><div>Hello everyone,<br><br></div>If I know for a fact that I will be using structured grids AND still want the DMPlex data structure, what's the best/fastest way of achieving this? Should I:<br><br>a) Invoke DMDACreate2d(PETSC_COMM_WORLD, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE,DMDA_STENCIL_BOX,-3,-3,PETSC_DECIDE,PETSC_DECIDE,1,1,NULL,NULL,&da); to get the parallel cell-vertex layout and (somehow) translate this into a DMPlex?<br><br></div>b) Manually set the local DMPlex chart/DAG and assign the SF along the appropriate processors?<br><br></div>c) Invoke some DMDA/DMPlex function or set of functions that already exist for this purpose?<br><br></div>d) Something else?<br><br></div><div>I know I could just input or create a coarse DAG and invoke -dm_refine, but I was wondering if there is an alternative to this method.<br></div><div><br></div>Thanks,<br></div>Justin<br></div>