DMCreateSectionSuperDM#

Returns an arrays of IS and a DM containing a PetscSection that encapsulates a superproblem defined by the array of DM and their PetscSection

Synopsis#

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

Not Collective

Input Parameters#

  • dms - The DM objects, the must all have the same topology; for example obtained with DMClone()

  • len - The number of DM in dms

Output Parameters#

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

  • superdm - The DM for the superproblem, which must already have be cloned and contain the same topology as the dms

See Also#

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

Level#

intermediate

Location#

src/dm/interface/dmi.c


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