#include "petscvec.h" PetscErrorCode VecGetArray4dRead(Vec x,PetscInt m,PetscInt n,PetscInt p,PetscInt q,PetscInt mstart,PetscInt nstart,PetscInt pstart,PetscInt qstart,PetscScalar ****a[])Logically Collective Many br
| x | - the vector Many br | |
| m | - first dimension of four dimensional array Many br | |
| n | - second dimension of four dimensional array Many br | |
| p | - third dimension of four dimensional array Many br | |
| q | - fourth dimension of four dimensional array Many br | |
| mstart | - first index you will use in first coordinate direction (often 0) Many br | |
| nstart | - first index in the second coordinate direction (often 0) Many br | |
| pstart | - first index in the third coordinate direction (often 0) Many br | |
| qstart | - first index in the fourth coordinate direction (often 0) Many br |
Many br
For standard PETSc vectors this is an inexpensive call; it does not copy the vector values. Many br
Level:beginner
Location:src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages