#include "petscda.h" PetscErrorCode PETSCDM_DLLEXPORT DAVecGetArrayDOF(DA da,Vec vec,void *array)Not Collective
da | - the distributed array | |
vec | - the vector, either a vector the same size as one obtained with DACreateGlobalVector() or DACreateLocalVector() |
In C, the indexing is "backwards" from what expects: array[k][j][i][DOF] NOT array[i][j][k][DOF]!
Level:intermediate
Location:src/dm/da/src/dagetarray.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages