Actual source code: aoregall.c

petsc-3.7.3 2016-08-01
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:   if (AORegisterAllCalled) return(0);
 24:   AORegisterAllCalled = PETSC_TRUE;

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