VecGetSize

Returns the global number of elements of the vector.

Synopsis

int VecGetSize(Vec x,int *size)
Not Collective

Input Parameter

x -the vector

Output Parameters

size -the global length of the vector

Keywords

vector, get, size, global, dimension

See Also

VecGetLocalSize()

Examples

src/vec/examples/tutorials/ex2f.F
src/vec/examples/tutorials/ex2.c
src/vec/examples/tutorials/ex8.c
src/vec/examples/tutorials/ex9.c

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