petsc-3.9.4 2018-09-11
Report Typos and Errors

VecSetLayout

set PetscLayout describing vector layout

Synopsis

#include "petscvec.h"   
PetscErrorCode VecSetLayout(Vec x,PetscLayout map)
Not Collective

Input Arguments

x - the vector
map - the layout

Notes

It is normally only valid to replace the layout with a layout known to be equivalent.

See Also

VecGetLayout(), VecGetSizes(), VecGetOwnershipRange(), VecGetOwnershipRanges()

Level

developer

Location

src/vec/vec/interface/vector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages