Lines Matching refs:conv
4388 PetscErrorCode (*conv)(Mat, MatType, MatReuse, Mat *) = NULL; in MatConvert() local
4432 PetscCall(PetscObjectQueryFunction((PetscObject)mat, convname, &conv)); in MatConvert()
4433 …fo(mat, "Check specialized (1) %s (%s) -> %d\n", convname, ((PetscObject)mat)->type_name, !!conv)); in MatConvert()
4434 if (conv) goto foundconv; in MatConvert()
4448 PetscCall(PetscObjectQueryFunction((PetscObject)B, convname, &conv)); in MatConvert()
4449 …Info(mat, "Check specialized (2) %s (%s) -> %d\n", convname, ((PetscObject)B)->type_name, !!conv)); in MatConvert()
4450 if (conv) { in MatConvert()
4457 conv = B->ops->convertfrom; in MatConvert()
4458 … PetscCall(PetscInfo(mat, "Check convertfrom (%s) -> %d\n", ((PetscObject)B)->type_name, !!conv)); in MatConvert()
4460 if (conv) goto foundconv; in MatConvert()
4463 if (mat->ops->convert) conv = mat->ops->convert; in MatConvert()
4464 …cCall(PetscInfo(mat, "Check general convert (%s) -> %d\n", ((PetscObject)mat)->type_name, !!conv)); in MatConvert()
4465 if (conv) goto foundconv; in MatConvert()
4469 conv = MatConvert_Basic; in MatConvert()
4473 PetscCall((*conv)(mat, newtype, reuse, M)); in MatConvert()
4517 PetscErrorCode (*conv)(Mat, MatSolverType *); in MatFactorGetSolverType() local
4524 PetscCall(PetscObjectQueryFunction((PetscObject)mat, "MatFactorGetSolverType_C", &conv)); in MatFactorGetSolverType()
4525 if (conv) PetscCall((*conv)(mat, type)); in MatFactorGetSolverType()
4822 PetscErrorCode (*conv)(Mat, MatFactorType, Mat *); in MatGetFactor() local
4838 …Call(MatSolverTypeGet(type, ((PetscObject)mat)->type_name, ftype, &foundtype, &foundmtype, &conv)); in MatGetFactor()
4848 …PetscCheck(conv, PetscObjectComm((PetscObject)mat), PETSC_ERR_MISSING_FACTOR, "MatSolverType %s do… in MatGetFactor()
4850 PetscCall((*conv)(mat, ftype, f)); in MatGetFactor()