petsc-3.13.6 2020-09-29
Report Typos and Errors

AOCreate

Creates an Section 1.5 Writing Application Codes with PETSc ordering.

Synopsis

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

Input Parameters

comm -MPI communicator that is to share AO

Output Parameter

ao -the new Section 1.5 Writing Application Codes with PETSc ordering

Options Database Key

-ao_type <aotype> - create ao with particular format
-ao_view - call AOView() at the conclusion of AOCreate()

See Also

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

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