#include "petscdmda.h" PetscErrorCode DMDAGetRay(DM da,DMDADirection dir,PetscInt gp,Vec *newvec,VecScatter *scatter)Collective on DMDA Many br
da | - the distributed array Many br | |
vec | - the vector Many br | |
dir | - Cartesian direction, either DMDA_X, DMDA_Y, or DMDA_Z Many br | |
gp | - global grid point number in this direction Many br |
newvec | - the new vector that can hold the values (size zero on all processes except process 0) Many br | |
scatter | - the VecScatter that will map from the original vector to the slice Many br |
Many br
Level:advanced
Location:src/dm/impls/da/dasub.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages