AOCreate#

Creates an application ordering. That is an object that maps from an application ordering to a PETSc ordering and vice versa

Synopsis#

#include "petscao.h" 
PetscErrorCode AOCreate(MPI_Comm comm, AO *ao)

Collective

Input Parameters#

  • comm - MPI communicator that is to share the AO

Output Parameter#

  • ao - the new application ordering

Options Database Key#

  • -ao_type - create ao with particular format

  • -ao_view - call AOView() at the conclusion of AOCreate()

See Also#

Application Orderings, AO, AOSetIS(), AODestroy(), AOPetscToApplication(), AOApplicationToPetsc()

Level#

beginner

Location#

src/vec/is/ao/interface/ao.c

Implementations#

AOCreate_Basic in src/vec/is/ao/impls/basic/aobasic.c
AOCreate_MemoryScalable in src/vec/is/ao/impls/memscalable/aomemscalable.c


Edit on GitLab

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