Searched refs:MpTrans (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex7.c | 13 Mat MpTrans; member 27 PetscCall(MatMult(matshellctx->MpTrans, matshellctx->ff, yy)); in MatMultMtM_SeqAIJ() 39 PetscCall(MatMultAdd(matshellctx->MpTrans, matshellctx->ff, yy, zz)); in MatMultAddMtM_SeqAIJ() 87 PetscCall(MatTranspose(M_p, MAT_INITIAL_MATRIX, &matshellctx->MpTrans)); in gridToParticles() 97 PetscCall(MatGetRow(matshellctx->MpTrans, i, &nzl, &cols, &vals)); in gridToParticles() 108 PetscCall(MatViewFromOptions(matshellctx->MpTrans, NULL, "-ftop2_MpTranspose_mat_view")); in gridToParticles() 127 PetscCall(MatDestroy(&matshellctx->MpTrans)); in gridToParticles()
|
| /petsc/src/ts/tests/ |
| H A D | ex30.c | 25 Mat MpTrans; member 53 PetscCall(MatMult(matshellctx->MpTrans, matshellctx->ff, yy)); in MatMultMtM_SeqAIJ() 65 PetscCall(MatMultAdd(matshellctx->MpTrans, matshellctx->ff, yy, zz)); in MatMultAddMtM_SeqAIJ() 197 PetscCall(MatTranspose(M_p, MAT_INITIAL_MATRIX, &matshellctx->MpTrans)); in gridToParticles() 202 PetscCall(MatViewFromOptions(matshellctx->MpTrans, NULL, "-ftop2_MpT_mat_view")); in gridToParticles() 207 PetscCall(MatGetRow(matshellctx->MpTrans, i, &nzl, &cols, &vals)); in gridToParticles() 215 PetscCall(MatDestroy(&matshellctx->MpTrans)); in gridToParticles() 233 PetscCall(MatViewFromOptions(matshellctx->MpTrans, NULL, "-ftop2_MpTranspose_mat_view")); in gridToParticles() 259 if (matshellctx->MpTrans) PetscCall(MatDestroy(&matshellctx->MpTrans)); in gridToParticles()
|