DACoarsen

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

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DACoarsen(DA da, MPI_Comm comm,DA *daref)
Collective on DA

Input Parameter

da - initial distributed array
comm - communicator to contain coarsend DA. Currently ignored

Output Parameter

daref -coarsend distributed array

Note

Currently, coarsenment consists of just dividing the number of grid spaces in each dimension of the DA by refinex_x, refinex_y, ....

Keywords

distributed array, coarsen

See Also

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

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