Lines Matching refs:red
76 static PetscErrorCode PCDeflationSetReductionFactor_Deflation(PC pc, PetscInt red) in PCDeflationSetReductionFactor_Deflation() argument
81 def->reductionfact = red; in PCDeflationSetReductionFactor_Deflation()
104 PetscErrorCode PCDeflationSetReductionFactor(PC pc, PetscInt red) in PCDeflationSetReductionFactor() argument
108 PetscValidLogicalCollectiveInt(pc, red, 2); in PCDeflationSetReductionFactor()
109 PetscTryMethod(pc, "PCDeflationSetReductionFactor_C", (PC, PetscInt), (pc, red)); in PCDeflationSetReductionFactor()
460 PetscInt i, m, red, size; in PCSetUp_Deflation() local
616 red = def->reductionfact; in PCSetUp_Deflation()
617 if (red < 0) { in PCSetUp_Deflation()
619 red = PetscCeilInt(commsize, PetscCeilInt(m, commsize)); in PCSetUp_Deflation()
621 if (match) red = commsize; in PCSetUp_Deflation()
622 PetscCall(PetscInfo(pc, "Auto choosing reduction factor %" PetscInt_FMT "\n", red)); in PCSetUp_Deflation()
624 PetscCall(PCTelescopeSetReductionFactor(pcinner, red)); in PCSetUp_Deflation()