Searched refs:Xmat (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/aij/seq/mkl_pardiso/ |
| H A D | mkl_pardiso.c | 238 Mat S, Xmat, Bmat; in MatMKLPardisoSolveSchur_Private() local 245 PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, mpardiso->schur_size, mpardiso->nrhs, X, &Xmat)); in MatMKLPardisoSolveSchur_Private() 247 PetscCall(MatSetType(Xmat, ((PetscObject)S)->type_name)); in MatMKLPardisoSolveSchur_Private() 249 PetscCall(MatBindToCPU(Xmat, S->boundtocpu)); in MatMKLPardisoSolveSchur_Private() 260 PetscCall(MatMatSolve(S, Bmat, Xmat)); in MatMKLPardisoSolveSchur_Private() 262 PetscCall(MatMatSolveTranspose(S, Bmat, Xmat)); in MatMKLPardisoSolveSchur_Private() 266 PetscCall(MatProductCreateWithMat(S, Bmat, NULL, Xmat)); in MatMKLPardisoSolveSchur_Private() 268 PetscCall(MatProductSetType(Xmat, MATPRODUCT_AB)); in MatMKLPardisoSolveSchur_Private() 270 PetscCall(MatProductSetType(Xmat, MATPRODUCT_AtB)); in MatMKLPardisoSolveSchur_Private() 272 PetscCall(MatProductSetFromOptions(Xmat)); in MatMKLPardisoSolveSchur_Private() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 1172 Mat Amat, Bmat, Xmat; in DMPlexComputeAnchorMatrix_Tree_Direct() local 1208 PetscCall(MatDuplicate(Amat, MAT_DO_NOT_COPY_VALUES, &Xmat)); in DMPlexComputeAnchorMatrix_Tree_Direct() 1270 PetscCall(MatMatSolve(Amat, Bmat, Xmat)); in DMPlexComputeAnchorMatrix_Tree_Direct() 1271 PetscCall(MatDenseGetArrayRead(Xmat, &X)); in DMPlexComputeAnchorMatrix_Tree_Direct() 1368 PetscCall(MatDenseRestoreArrayRead(Xmat, &X)); in DMPlexComputeAnchorMatrix_Tree_Direct() 1375 PetscCall(MatDestroy(&Xmat)); in DMPlexComputeAnchorMatrix_Tree_Direct()
|