#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMRefine(DM dm,MPI_Comm comm,DM *dmf)Collective on dm
| dm | - the DM object | |
| comm | - the communicator to contain the new DM object (or MPI_COMM_NULL) |
| dmf | - the refined DM, or NULL |
| -dm_plex_cell_refiner <strategy> | - chooses the refinement strategy, e.g. regular, tohex |
Note: If no refinement was done, the return value is NULL