petsc-3.7.7 2017-09-25
Report Typos and Errors

DMMoabVecGetArrayRead

Returns the read-only direct access array to the local representation of MOAB tag data for the underlying vector using locally owned+ghosted range of entities

Synopsis

#include "petscdmmoab.h"   
PetscErrorCode  DMMoabVecGetArrayRead(DM dm,Vec vec,void* array)
Collective on MPI_Comm

Input Parameter

Output Parameter

Keywords

MOAB, distributed array

See Also

DMMoabVecRestoreArrayRead(), DMMoabVecGetArray(), DMMoabVecRestoreArray()

Level:intermediate
Location:
src/dm/impls/moab/dmmbvec.cxx
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex35.cxx.html
dm - The DMMoab object being set
vec - The Vector whose underlying data is requested
array - The local data array