Actual source code: aoregall.c

petsc-3.12.5 2020-03-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: .seealso:  AORegister(), AORegisterDestroy()
 14: @*/
 15: PetscErrorCode  AORegisterAll(void)
 16: {

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

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