DARefine

Creates a new distributed array that is a refinement of a given distributed array.

Synopsis

#include "petscda.h"   
int DARefine(DA da,DA *daref)
Collective on DA

Input Parameter

da -initial distributed array

Output Parameter

daref -refined distributed array

Note

Currently, refinement consists of just doubling the number of grid spaces in each dimension of the DA.

Keywords

distributed array, refine

See Also

DACreate1d(), DACreate2d(), DACreate3d(), DADestroy()

Level:advanced
Location:
src/dm/da/src/da2.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex9.c