Actual source code: aoregall.c

petsc-3.9.1 2018-04-29
Report Typos and Errors

  2:  #include <../src/vec/is/ao/aoimpl.h>
  3: PETSC_EXTERN PetscErrorCode AOCreate_Basic(AO ao);
  4: PETSC_EXTERN PetscErrorCode AOCreate_MemoryScalable(AO ao);

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

  9:   Not Collective

 11:   Level: advanced

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

 21:   if (AORegisterAllCalled) return(0);
 22:   AORegisterAllCalled = PETSC_TRUE;

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