VecGetBlockSize

Gets the blocksize for the vector, i.e. what is used for VecSetValuesBlocked() and VecSetValuesBlockedLocal().

Synopsis

int VecGetBlockSize(Vec v,int *bs)
Collective on Vec

Input Parameter

v -the vector

Output Parameter

bs -the blocksize

Notes

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

See Also

VecSetValuesBlocked(), VecSetLocalToGlobalMappingBlocked(), VecSetBlockSize()

Keywords

block size, vectors

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