Lines Matching refs:coarse
412 PetscErrorCode MatCoarsenSetMaximumIterations(MatCoarsen coarse, PetscInt n) in MatCoarsenSetMaximumIterations() argument
415 PetscValidHeaderSpecific(coarse, MAT_COARSEN_CLASSID, 1); in MatCoarsenSetMaximumIterations()
416 PetscValidLogicalCollectiveInt(coarse, n, 2); in MatCoarsenSetMaximumIterations()
417 PetscTryMethod(coarse, "MatCoarsenSetMaximumIterations_C", (MatCoarsen, PetscInt), (coarse, n)); in MatCoarsenSetMaximumIterations()
421 static PetscErrorCode MatCoarsenSetMaximumIterations_MATCOARSEN(MatCoarsen coarse, PetscInt b) in MatCoarsenSetMaximumIterations_MATCOARSEN() argument
424 coarse->max_it = b; in MatCoarsenSetMaximumIterations_MATCOARSEN()
448 PetscErrorCode MatCoarsenSetStrengthIndex(MatCoarsen coarse, PetscInt n, PetscInt idx[]) in MatCoarsenSetStrengthIndex() argument
451 PetscValidHeaderSpecific(coarse, MAT_COARSEN_CLASSID, 1); in MatCoarsenSetStrengthIndex()
452 PetscValidLogicalCollectiveInt(coarse, n, 2); in MatCoarsenSetStrengthIndex()
453 …PetscTryMethod(coarse, "MatCoarsenSetStrengthIndex_C", (MatCoarsen, PetscInt, PetscInt[]), (coarse… in MatCoarsenSetStrengthIndex()
457 static PetscErrorCode MatCoarsenSetStrengthIndex_MATCOARSEN(MatCoarsen coarse, PetscInt n, PetscInt… in MatCoarsenSetStrengthIndex_MATCOARSEN() argument
460 coarse->strength_index_size = n; in MatCoarsenSetStrengthIndex_MATCOARSEN()
461 for (int iii = 0; iii < n; iii++) coarse->strength_index[iii] = idx[iii]; in MatCoarsenSetStrengthIndex_MATCOARSEN()
487 PetscErrorCode MatCoarsenSetThreshold(MatCoarsen coarse, PetscReal b) in MatCoarsenSetThreshold() argument
490 PetscValidHeaderSpecific(coarse, MAT_COARSEN_CLASSID, 1); in MatCoarsenSetThreshold()
491 PetscValidLogicalCollectiveReal(coarse, b, 2); in MatCoarsenSetThreshold()
492 PetscTryMethod(coarse, "MatCoarsenSetThreshold_C", (MatCoarsen, PetscReal), (coarse, b)); in MatCoarsenSetThreshold()
496 static PetscErrorCode MatCoarsenSetThreshold_MATCOARSEN(MatCoarsen coarse, PetscReal b) in MatCoarsenSetThreshold_MATCOARSEN() argument
499 coarse->threshold = b; in MatCoarsenSetThreshold_MATCOARSEN()