VecGetArrayF90(Vec x,int n,{Scalar, pointer :: y(:)},integer ierr)
Collective on
Vec
| x | - a vector to mimic |
| n | - the number of vectors to obtain |
| y | - Fortran90 pointer to the array of vectors |
| ierr | - error code |
Vec x
Vec, pointer :: y(:)
....
call VecDuplicateVecsF90(x,2,y,ierr)
call VecSet(alpha,y(2),ierr)
call VecSet(alpha,y(2),ierr)
....
call VecDestroyVecsF90(y,2,ierr)
Use VecDestroyVecsF90() to free the space.
Location: src/vec/interface/vector.c
Vector Index
Table of Contents