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

AOSetType

Builds an Section 1.5 Writing Application Codes with PETSc ordering for a particular implementation.

Synopsis

#include "petscao.h"  
PetscErrorCode  AOSetType(AO ao, AOType method)
Collective on AO

Input Parameters

ao - The AO object
method - The name of the AO type

Options Database Key

-ao_type <type> -Sets the AO type; use -help for a list of available types

Notes

See "petsc/include/petscao.h" for available AO types (for instance, AOBASIC and AOMEMORYSCALABLE).

See Also

AOGetType(), AOCreate()

Level

intermediate

Location

src/vec/is/ao/interface/aoreg.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages