Actual source code: aoregall.c
petsc-3.13.6 2020-09-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 Section 1.5 Writing Application Codes with PETSc 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: }