#include "petscdmplex.h" PetscErrorCode DMPlexPointLocalRead(DM dm,PetscInt point,const PetscScalar *array,void *ptr)Not Collective
dm | - DM defining topological space | |
point | - topological point | |
array | - array to index into |
const struct { PetscScalar foo,bar,baz; } *ptr;
DMPlexPointLocalRead(dm,point,array,&ptr);
x = 2*ptr->foo + 3*ptr->bar + 5*ptr->baz;
Level:intermediate
Location:src/dm/impls/plex/plexpoint.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages