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 Parameter#
comm - MPI communicator that is to share the
AO
Output Parameter#
ao - the new application ordering
Options Database Keys#
-ao_type (basic|advanced|mapping|memoryscalable) - Sets the
AOtype; seeAOType-ao_view viewer_specification - call
AOView()at the conclusion of the creation of completeAO, by, for example,AOCreateMappingIS()orAOCreateMapping(). SeePetscOptionsCreateViewer()for the format ofviewer_specification
See Also#
Application Orderings, AO, AOView(), AOSetIS(), AODestroy(), AOPetscToApplication(), AOApplicationToPetsc(), AOViewFromOptions(),
AOCreateMappingIS(), AOCreateMapping(), AOCreateBasicIS(), AOCreateBasic(), AOCreateMemoryScalable(), AOCreateMemoryScalableIS()
Level#
beginner
Location#
Implementations#
AOCreate_Basic() in src/vec/is/ao/impls/basic/aobasic.c
AOCreate_MemoryScalable() in src/vec/is/ao/impls/memscalable/aomemscalable.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages