petsc-3.7.1 2016-05-15
Report Typos and Errors

DMPlexGlobalToNaturalBegin

Rearranges a global Vector in the natural order.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGlobalToNaturalBegin(DM dm, Vec gv, Vec nv)
Collective on dm Many br

Input Parameters

dm - The distributed DMPlex Many br
gv - The global Vec Many br

Output Parameters

nv -Vec in the canonical ordering distributed over all processors associated with gv Many br

Note: The user must call DMPlexSetUseNaturalSF(dm, PETSC_TRUE) before DMPlexDistribute(). Many br

Many br

See Also

DMPlexDistribute(), DMPlexDistributeField(), DMPlexNaturalToGlobalBegin(), DMPlexGlobalToNaturalEnd()

Level:intermediate
Location:
src/dm/impls/plex/plexnatural.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages