petsc-3.3-p7 2013-05-11

DMDASetGhostedCoordinates

Sets into the DMDA a vector that indicates the coordinates of the local nodes, including ghost nodes.

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetGhostedCoordinates(DM da,Vec c)
Collective on DMDA

Input Parameter

da - the distributed array
c - coordinate vector

Note

The coordinates of interior ghost points can be set using DMDASetCoordinates() followed by DMDAGetGhostedCoordinates(). This is intended to enable the setting of ghost coordinates outside of the domain.

Non-ghosted coordinates, if set, are assumed still valid.

Keywords

distributed array, get, corners, nodes, local indices, coordinates

See Also

DMDASetCoordinates(), DMDAGetGhostCorners(), DMDAGetCoordinates(), DMDASetUniformCoordinates(). DMDAGetGhostedCoordinates(), DMDAGetCoordinateDA()

Level:intermediate
Location:
src/dm/impls/da/dacorn.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages