ADDASetRefinement

Sets the refinement factors of the distributed arrays.

Synopsis

#include "petscda.h" 
PetscErrorCode PETSCDM_DLLEXPORT ADDASetRefinement(ADDA adda, PetscInt *refine, PetscInt dofrefine)
Collective on ADDA

Input Parameter

adda - the ADDA object
refine - array of refinement factors
dofrefine - the refinement factor for the dof, usually just 1

Keywords

distributed array, refinement

Level:developer
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