VecGetBlockSize

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

Synopsis

#include "petscvec.h" 
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()

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