DMCompositeCreate

Creates a vector packer, used to generate "composite" vectors made up of several subvectors.

Synopsis

#include "petscdmcomposite.h"  
PetscErrorCode  DMCompositeCreate(MPI_Comm comm,DM *packer)
Collective

Input Parameter

comm - the processors that will share the global vector

Output Parameters

packer - the packer object

Level: advanced

See Also

DMDestroy(), DMCompositeAddDM(), DMCompositeScatter(), DMCOMPOSITE,DMCreate()
DMCompositeGather(), DMCreateGlobalVector(), DMCompositeGetISLocalToGlobalMappings(), DMCompositeGetAccess() DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(), DMCompositeGetEntries()

Location:pack.c