Actual source code: aoregall.c

petsc-3.5.1 2014-07-24
Report Typos and Errors
  2: #include <../src/vec/is/ao/aoimpl.h>      /*I "petscao.h" I*/
  3: PETSC_EXTERN PetscErrorCode AOCreate_Basic(AO ao);
  4: PETSC_EXTERN PetscErrorCode AOCreate_MemoryScalable(AO ao);

  8: /*@C
  9:   AORegisterAll - Registers all of the application ordering components in the AO package.

 11:   Not Collective

 13:   Level: advanced

 15: .keywords: AO, register, all
 16: .seealso:  AORegister(), AORegisterDestroy()
 17: @*/
 18: PetscErrorCode  AORegisterAll(void)
 19: {

 23:   AORegisterAllCalled = PETSC_TRUE;

 25:   AORegister(AOBASIC,          AOCreate_Basic);
 26:   AORegister(AOMEMORYSCALABLE, AOCreate_MemoryScalable);
 27:   return(0);
 28: }