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.

Level: developer

See Also

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

Location:vector.c