Home
last modified time | relevance | path

Searched refs:Btype (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c410 MPI_Datatype Btype; in DMFieldEvaluate_DS() local
413 PetscCallMPI(MPI_Type_contiguous(idim, origtype, &Btype)); in DMFieldEvaluate_DS()
414 PetscCallMPI(MPI_Type_commit(&Btype)); in DMFieldEvaluate_DS()
415 …PetscCall(PetscSFScatterBegin(cellSF, Btype, (datatype == PETSC_SCALAR) ? (void *)cellBs : (void *… in DMFieldEvaluate_DS()
416 …PetscCall(PetscSFScatterEnd(cellSF, Btype, (datatype == PETSC_SCALAR) ? (void *)cellBs : (void *)c… in DMFieldEvaluate_DS()
417 PetscCallMPI(MPI_Type_free(&Btype)); in DMFieldEvaluate_DS()
/petsc/src/mat/impls/shell/
H A Dshell.c868 …orCode (*numeric)(Mat, Mat, Mat, void *), PetscCtxDestroyFn *destroy, MatType Btype, MatType Ctype) in MatShellSetMatProductOperation() argument
875 PetscAssertPointer(Btype, 6); in MatShellSetMatProductOperation()
877 … *), PetscCtxDestroyFn *, MatType, MatType), (A, ptype, symbolic, numeric, destroy, Btype, Ctype)); in MatShellSetMatProductOperation()
881 …orCode (*numeric)(Mat, Mat, Mat, void *), PetscCtxDestroyFn *destroy, MatType Btype, MatType Ctype) in MatShellSetMatProductOperation_Shell() argument
891 PetscCall(PetscStrcmp(Btype, Bnames->rname, &flg)); in MatShellSetMatProductOperation_Shell()
901 Btype = Bnames ? (size > 1 ? Bnames->mname : Bnames->sname) : Btype; in MatShellSetMatProductOperation_Shell()
903 …me, sizeof(composedname), "MatProductSetFromOptions_%s_%s_C", ((PetscObject)A)->type_name, Btype)); in MatShellSetMatProductOperation_Shell()
/petsc/src/mat/interface/
H A Dmatproduct.c294 char *Btype = NULL, *Ctype = NULL; in MatProductNumeric_X_Dense() local
313 PetscCall(PetscStrallocpy(((PetscObject)B)->type_name, &Btype)); in MatProductNumeric_X_Dense()
348 PetscCall(MatConvert(B, Btype, MAT_INPLACE_MATRIX, &B)); in MatProductNumeric_X_Dense()
355 PetscCall(PetscFree(Btype)); in MatProductNumeric_X_Dense()
/petsc/src/mat/tests/
H A Dex23.c954 MatType Btype; in CheckMat() local
956 PetscCall(MatGetType(B, &Btype)); in CheckMat()
957 PetscCall(MatConvert(A, Btype, MAT_INITIAL_MATRIX, &Bcheck)); in CheckMat()