Home
last modified time | relevance | path

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

/petsc/src/mat/impls/nest/
H A Dmatnest.c97 Mat viewB, viewC, productB, workC; in MatProductNumeric_Nest_Dense() local
130 …, PETSC_DECIDE, M, N, PetscSafePointerPlusOffset((PetscScalar *)barray, contents->dn[j]), &viewB)); in MatProductNumeric_Nest_Dense()
131 PetscCall(MatDenseSetLDA(viewB, ldb)); in MatProductNumeric_Nest_Dense()
136 workC->product->B = viewB; /* use newly created dense matrix viewB */ in MatProductNumeric_Nest_Dense()
138 PetscCall(MatDestroy(&viewB)); in MatProductNumeric_Nest_Dense()
171 Mat viewB, workC; in MatProductSymbolic_Nest_Dense() local
226 …, PETSC_DECIDE, M, N, PetscSafePointerPlusOffset((PetscScalar *)barray, contents->dn[j]), &viewB)); in MatProductSymbolic_Nest_Dense()
227 PetscCall(MatDenseSetLDA(viewB, ldb)); in MatProductSymbolic_Nest_Dense()
232 PetscCall(MatProductCreate(bA->m[i][j], viewB, NULL, &contents->workC[i * nc + j])); in MatProductSymbolic_Nest_Dense()
244 PetscCall(MatDestroy(&viewB)); in MatProductSymbolic_Nest_Dense()