petsc-3.3-p7 2013-05-11
DMDAGetReducedDA
Gets the DMDA with the same layout but with fewer or more fields
Synopsis
#include "petscdmda.h"
PetscErrorCode DMDAGetReducedDA(DM da,PetscInt nfields,DM *nda)
Collective on DMDA
Input Parameter
Output Parameter
Keywords
distributed array, get, corners, nodes, local indices, coordinates
See Also
DMDAGetGhostCorners(), DMDASetCoordinates(), DMDASetUniformCoordinates(), DMDAGetCoordinates(), DMDAGetGhostedCoordinates()
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
Examples
src/snes/examples/tutorials/ex61view.c.html
| da | - the distributed array
|
| nfields | - number of fields in new DMDA
|
| nda | - the new DMDA
|