VecSetBlockSize

Sets the blocksize for future calls to VecSetValuesBlocked() and VecSetValuesBlockedLocal().

Synopsis

int VecSetBlockSize(Vec v,int bs)
Collective on Vec

Input Parameter

v - the vector
bs - the blocksize

Notes

All vectors obtained by VecDuplicate() inherit the same blocksize.

See Also

VecSetValuesBlocked(), VecSetLocalToGlobalMappingBlocked(), VecGetBlockSize()

Keywords

block size, vectors

Examples

src/vec/examples/tutorials/ex11f.F
src/vec/examples/tutorials/ex11.c
src/vec/examples/tutorials/ex12.c

Level:advanced
Location:src/vec/interface/vector.c
Vector Index
Table of Contents