DMShellSetCreateDomainDecomposition#
Set the routine used to create a domain decomposition for the DMSHELL
Synopsis#
#include "petscdmshell.h"
PetscErrorCode DMShellSetCreateDomainDecomposition(DM dm, PetscErrorCode (*decomp)(DM dm, PetscInt *len, char **namelist[], IS *innerlist[], IS *outerlist[], DM *dmlist[]))
Logically Collective
Input Parameters#
dm - the
DMSHELLdecomp - the routine to create the decomposition
Calling sequence of decomp#
dm - the
DMto decompose into domainslen - output, the number of domains (or
NULLif not requested)namelist - output, the name for each domain (or
NULLif not requested)innerlist - output, the global indices for each domain’s inner region (or
NULLif not requested)outerlist - output, the global indices for each domain’s outer region (or
NULLif not requested)dmlist - output, the
DMs for each field subproblem (orNULL, if not requested; ifNULLis returned, noDMs are defined)
See Also#
DM, DMSHELL, DMCreateDomainDecomposition(), DMShellSetContext(), DMShellGetContext()
Level#
advanced
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages