Date: 2022-08-02T03:13:43+00:00

Actual source code: aoregall.c

      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: {
     17:   if (AORegisterAllCalled) return 0;
     18:   AORegisterAllCalled = PETSC_TRUE;

     20:   AORegister(AOBASIC,          AOCreate_Basic);
     21:   AORegister(AOMEMORYSCALABLE, AOCreate_MemoryScalable);
     22:   return 0;
     23: }