Searched refs:workC (Results 1 – 1 of 1) sorted by relevance
88 …Mat *workC; /* array of Mat with specific containers depending on the underlying MatM… member97 Mat viewB, viewC, productB, workC; in MatProductNumeric_Nest_Dense() local134 workC = contents->workC[i * nc + j]; in MatProductNumeric_Nest_Dense()135 productB = workC->product->B; in MatProductNumeric_Nest_Dense()136 workC->product->B = viewB; /* use newly created dense matrix viewB */ in MatProductNumeric_Nest_Dense()137 PetscCall(MatProductNumeric(workC)); in MatProductNumeric_Nest_Dense()139 workC->product->B = productB; /* resume original B */ in MatProductNumeric_Nest_Dense()142 PetscCall(MatAXPY(viewC, 1.0, contents->workC[i * nc + j], SAME_NONZERO_PATTERN)); in MatProductNumeric_Nest_Dense()162 for (i = 0; i < contents->k; i++) PetscCall(MatDestroy(contents->workC + i)); in MatNest_DenseDestroy()163 PetscCall(PetscFree3(contents->dm, contents->dn, contents->workC)); in MatNest_DenseDestroy()[all …]