DMDASetAOType#

Sets the type of application ordering for a distributed array.

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDASetAOType(DM da, AOType aotype)

Collective

Input Parameters#

  • da - the distributed array

  • aotype - type of AO

Note#

It will generate and error if an AO has already been obtained with a call to DMDAGetAO() and the user sets a different AOType

See Also#

DM, DMDA, DMDACreate2d(), DMDAGetAO(), DMDAGetGhostCorners(), DMDAGetCorners(), DMLocalToGlobal() DMGlobalToLocalBegin(), DMGlobalToLocalEnd(), DMLocalToLocalBegin(), DMLocalToLocalEnd(), DMDAGetGlobalIndices(), DMDAGetOwnershipRanges(), AO, AOPetscToApplication(), AOApplicationToPetsc()

Level#

intermediate

Location#

src/dm/impls/da/daindex.c

Examples#

src/ksp/ksp/tutorials/ex59.c


Edit on GitLab

Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages