DMShellSetCreateFieldDecomposition#
Set the routine used to create a decomposition of fields for the DMSHELL
Synopsis#
#include "petscdmshell.h"
PetscErrorCode DMShellSetCreateFieldDecomposition(DM dm, PetscErrorCode (*decomp)(DM dm, PetscInt *len, char **namelist[], IS *islist[], DM *dmlist[]))
Logically Collective
Input Parameters#
dm - the
DMSHELLdecomp - the routine to create the decomposition
Calling sequence of decomp#
dm - the
DMto decompose into fieldslen - output, the number of fields (or
NULLif not requested)namelist - output, the name for each field (or
NULLif not requested)islist - output, the global indices for each field (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, DMCreateFieldDecomposition(), DMShellSetContext(), DMShellGetContext()
Level#
advanced
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages