Lines Matching refs:P
9 Mat R, P; member
23 PetscCall(MatRestrict(jac->P, x, jac->b)); in PCApply_Galerkin()
27 if (jac->P) { in PCApply_Galerkin()
28 PetscCall(MatInterpolate(jac->P, jac->x, y)); in PCApply_Galerkin()
63 …PetscCheck(jac->R || jac->P, PetscObjectComm((PetscObject)pc), PETSC_ERR_ARG_WRONGSTATE, "Must set… in PCSetUp_Galerkin()
74 PetscCall(MatDestroy(&jac->P)); in PCReset_Galerkin()
127 static PetscErrorCode PCGalerkinSetInterpolation_Galerkin(PC pc, Mat P) in PCGalerkinSetInterpolation_Galerkin() argument
132 PetscCall(PetscObjectReference((PetscObject)P)); in PCGalerkinSetInterpolation_Galerkin()
133 PetscCall(MatDestroy(&jac->P)); in PCGalerkinSetInterpolation_Galerkin()
134 jac->P = P; in PCGalerkinSetInterpolation_Galerkin()
190 PetscErrorCode PCGalerkinSetInterpolation(PC pc, Mat P) in PCGalerkinSetInterpolation() argument
194 PetscTryMethod(pc, "PCGalerkinSetInterpolation_C", (PC, Mat), (pc, P)); in PCGalerkinSetInterpolation()