VecGetLayout#

get PetscLayout describing a vector layout

Synopsis#

#include "petscvec.h"   
PetscErrorCode VecGetLayout(Vec x, PetscLayout *map)

Not Collective

Input Parameter#

  • x - the vector

Output Parameter#

  • map - the layout

Note#

The layout determines what vector elements are contained on each MPI process

See Also#

Vectors and Parallel Data, PetscLayout, Vec, VecGetSizes(), VecGetOwnershipRange(), VecGetOwnershipRanges()

Level#

developer

Location#

src/vec/vec/interface/vector.c

Examples#

src/vec/vec/utils/tagger/tutorials/ex1.c


Edit on GitLab

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