1. Lisandro Dalcin
  2. PetIGA

Commits

Lisandro Dalcin  committed 2eb4bfb

Rename PC{EBE|BBB} -> PCIGA{EBE|BBB}

  • Participants
  • Parent commits 4fc0e7b
  • Branches default

Comments (0)

Files changed (4)

File include/petiga.h

View file
 PETSC_EXTERN PetscErrorCode IGAFormScalar(IGA iga,Vec U,PetscInt n,PetscScalar S[],
                                           IGAUserScalar Scalar,void *ctx);
 
-#define PCEBE "ebe"
-#define PCBBB "bbb"
+#define PCIGAEBE "igaebe"
+#define PCIGABBB "igabbb"
+
 PETSC_EXTERN PetscErrorCode IGACreateKSP(IGA iga,KSP *ksp);
 PETSC_EXTERN PetscErrorCode IGAComputeSystem(IGA iga,Mat A,Vec B);
 

File src/petigapcb.c

View file
 
 EXTERN_C_BEGIN
 #undef  __FUNCT__
-#define __FUNCT__ "PCCreate_BBB"
-PetscErrorCode PCCreate_BBB(PC pc)
+#define __FUNCT__ "PCCreate_IGABBB"
+PetscErrorCode PCCreate_IGABBB(PC pc)
 {
   PC_BBB         *bbb = 0;
   PetscErrorCode ierr;

File src/petigapce.c

View file
 
 EXTERN_C_BEGIN
 #undef  __FUNCT__
-#define __FUNCT__ "PCCreate_EBE"
-PetscErrorCode PCCreate_EBE(PC pc)
+#define __FUNCT__ "PCCreate_IGAEBE"
+PetscErrorCode PCCreate_IGAEBE(PC pc)
 {
   PC_EBE         *ebe = 0;
   PetscErrorCode ierr;

File src/petigareg.c

View file
 PETSC_EXTERN PetscFunctionList TSList;
 
 EXTERN_C_BEGIN
-extern PetscErrorCode PCCreate_EBE(PC);
-extern PetscErrorCode PCCreate_BBB(PC);
+extern PetscErrorCode PCCreate_IGAEBE(PC);
+extern PetscErrorCode PCCreate_IGABBB(PC);
 EXTERN_C_END
 
 EXTERN_C_BEGIN
   PetscFunctionBegin;
   IGARegisterAllCalled = PETSC_TRUE;
   ierr = PCRegisterAll();CHKERRQ(ierr);
-  ierr = PCRegister(PCEBE,PCCreate_EBE);CHKERRQ(ierr);
-  ierr = PCRegister(PCBBB,PCCreate_BBB);CHKERRQ(ierr);
+  ierr = PCRegister(PCIGAEBE,PCCreate_IGAEBE);CHKERRQ(ierr);
+  ierr = PCRegister(PCIGABBB,PCCreate_IGABBB);CHKERRQ(ierr);
   ierr = TSRegisterAll();CHKERRQ(ierr);
   ierr = TSRegister(TSALPHA2,TSCreate_Alpha2);CHKERRQ(ierr);
   PetscFunctionReturn(0);