Actual source code: factor.h

petsc-3.6.1 2015-08-06
Report Typos and Errors
  1: /*
  2:    Private data structure for ILU/ICC/LU/Cholesky preconditioners.
  3: */

  7: #include <petsc/private/pcimpl.h>                /*I "petscpc.h" I*/

  9: typedef struct {
 10:   Mat              fact;              /* factored matrix */
 11:   MatFactorInfo    info;
 12:   MatOrderingType  ordering;          /* matrix reordering */
 13:   MatSolverPackage solvertype;
 14:   MatFactorType    factortype;
 15: } PC_Factor;

 17: PETSC_INTERN PetscErrorCode PCFactorGetMatrix_Factor(PC,Mat*);

 19: PETSC_INTERN PetscErrorCode PCFactorSetZeroPivot_Factor(PC,PetscReal);
 20: PETSC_INTERN PetscErrorCode PCFactorSetShiftType_Factor(PC,MatFactorShiftType);
 21: PETSC_INTERN PetscErrorCode PCFactorSetShiftAmount_Factor(PC,PetscReal);
 22: PETSC_INTERN PetscErrorCode PCFactorSetDropTolerance_Factor(PC,PetscReal,PetscReal,PetscInt);
 23: PETSC_INTERN PetscErrorCode PCFactorSetFill_Factor(PC,PetscReal);
 24: PETSC_INTERN PetscErrorCode PCFactorSetMatOrderingType_Factor(PC,MatOrderingType);
 25: PETSC_INTERN PetscErrorCode PCFactorGetLevels_Factor(PC,PetscInt*);
 26: PETSC_INTERN PetscErrorCode PCFactorSetLevels_Factor(PC,PetscInt);
 27: PETSC_INTERN PetscErrorCode PCFactorSetAllowDiagonalFill_Factor(PC,PetscBool);
 28: PETSC_INTERN PetscErrorCode PCFactorGetAllowDiagonalFill_Factor(PC,PetscBool*);
 29: PETSC_INTERN PetscErrorCode PCFactorSetPivotInBlocks_Factor(PC,PetscBool);
 30: PETSC_INTERN PetscErrorCode PCFactorSetMatSolverPackage_Factor(PC,const MatSolverPackage);
 31: PETSC_INTERN PetscErrorCode PCFactorSetUpMatSolverPackage_Factor(PC);
 32: PETSC_INTERN PetscErrorCode PCFactorGetMatSolverPackage_Factor(PC,const MatSolverPackage*);
 33: PETSC_INTERN PetscErrorCode PCFactorSetColumnPivot_Factor(PC,PetscReal);
 34: PETSC_INTERN PetscErrorCode PCSetFromOptions_Factor(PetscOptions *PetscOptionsObject,PC);
 35: PETSC_INTERN PetscErrorCode PCView_Factor(PC,PetscViewer);

 37: #endif