DMCreateSectionSuperDM#

Returns an arrays of IS and DM+Section encapsulating a superproblem defined by the DM+Sections passed in.

Synopsis#

#include "petscdm.h"     
PetscErrorCode DMCreateSectionSuperDM(DM dms[], PetscInt len, IS **is, DM *superdm)

Not Collective

Input Parameters#

  • dms - The DM objects

  • len - The number of DMs

Output Parameters#

  • is - The global indices for the subproblem, or NULL

  • superdm - The DM for the superproblem, which must already have be cloned

Note#

This handles all information in the DM class and the PetscSection. This is used as the basis for creating subDMs in specialized classes, such as DMPLEX and DMFOREST

See Also#

DMCreateSuperDM(), DMGetLocalSection(), DMPlexSetMigrationSF(), DMView()

Level#

intermediate

Location#

src/dm/interface/dmi.c


Edit on GitLab

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages