PetscLayoutDestroy#

Frees a map object and frees its range if that exists.

Synopsis#

#include "petscis.h" 
PetscErrorCode PetscLayoutDestroy(PetscLayout *map)

Collective

Input Parameters#

  • map - the PetscLayout

Note#

The PetscLayout object and methods are intended to be used in the PETSc Vec and Mat implementations; it is recommended they not be used in user codes unless you really gain something in their use.

See Also#

PetscLayoutSetLocalSize(), PetscLayoutSetSize(), PetscLayoutGetSize(), PetscLayoutGetLocalSize(), PetscLayout, PetscLayoutCreate(), PetscLayoutGetRange(), PetscLayoutGetRanges(), PetscLayoutSetBlockSize(), PetscLayoutGetBlockSize(), PetscLayoutSetUp()

Level#

developer

Location#

src/vec/is/utils/pmap.c


Edit on GitLab

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