Lines Matching refs:ff
15 Vec ff; member
26 PetscCall(MatMult(matshellctx->Mp, xx, matshellctx->ff)); in MatMultMtM_SeqAIJ()
27 PetscCall(MatMult(matshellctx->MpTrans, matshellctx->ff, yy)); in MatMultMtM_SeqAIJ()
38 PetscCall(MatMult(matshellctx->Mp, xx, matshellctx->ff)); in MatMultAddMtM_SeqAIJ()
39 PetscCall(MatMultAdd(matshellctx->MpTrans, matshellctx->ff, yy, zz)); in MatMultAddMtM_SeqAIJ()
64 Vec ff; in gridToParticles() local
91 PetscCall(MatCreateVecs(M_p, &matshellctx->uu, &matshellctx->ff)); in gridToParticles()
123 PetscCall(DMSwarmCreateGlobalVectorFromField(sw, "w_q", &ff)); // this grabs access !!!!! in gridToParticles()
126 PetscCall(MatMult(M_p, matshellctx->uu, ff)); in gridToParticles()
128 PetscCall(VecDestroy(&matshellctx->ff)); in gridToParticles()
134 PetscCall(KSPSolveTranspose(ksp, rhs, ff)); in gridToParticles()
139 PetscCall(VecViewFromOptions(ff, NULL, "-weights_view")); in gridToParticles()
140 PetscCall(DMSwarmDestroyGlobalVectorFromField(sw, "w_q", &ff)); in gridToParticles()
167 Vec ff; in particlesToGrid() local
190 PetscCall(DMSwarmCreateGlobalVectorFromField(sw, "w_q", &ff)); // this grabs access !!!!! in particlesToGrid()
191 PetscCall(PetscObjectSetName((PetscObject)ff, "weights")); in particlesToGrid()
192 PetscCall(MatMultTranspose(M_p, ff, rho)); in particlesToGrid()
193 PetscCall(DMSwarmDestroyGlobalVectorFromField(sw, "w_q", &ff)); in particlesToGrid()