ADDAGetCorners

Gets the corners of the local area

Synopsis

#include "petscda.h" 
PetscErrorCode PETSCDM_DLLEXPORT ADDAGetCorners(ADDA adda, PetscInt **lcorner, PetscInt **ucorner)
Collective on ADDA

Input Parameter

adda -the ADDA object

Output Parameter

lcorner - the "lower" corner
ucorner - the "upper" corner

Both lcorner and ucorner are allocated by this procedure and will point to an array of size adda->dim.

Keywords

distributed array, refinement

Level:beginner
Location:
src/dm/adda/adda.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex40.c.html