Home
last modified time | relevance | path

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

/petsc/include/petsc/private/
H A Dpcpatchimpl.h84 Vec cellMats; /* Cell element tensors */ member
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c2049 PetscCall(VecGetArrayRead(patch->cellMats, &elementTensors)); in PCPatchComputeOperator_Internal()
2056 PetscCall(VecRestoreArrayRead(patch->cellMats, &elementTensors)); in PCPatchComputeOperator_Internal()
2259 if (!patch->cellMats) { in PCPatchPrecomputePatchTensors_Private()
2260 PetscCall(VecCreateSeq(PETSC_COMM_SELF, ncell * ndof * ndof, &patch->cellMats)); in PCPatchPrecomputePatchTensors_Private()
2261 PetscCall(VecSetBlockSize(patch->cellMats, ndof)); in PCPatchPrecomputePatchTensors_Private()
2263 PetscCall(VecSet(patch->cellMats, 0)); in PCPatchPrecomputePatchTensors_Private()
2265 …M_SELF, ncell * ndof, ncell * ndof, ncell * ndof, ncell * ndof, (void *)patch->cellMats, &vecMat)); in PCPatchPrecomputePatchTensors_Private()
2895 PetscCall(VecDestroy(&patch->cellMats)); in PCReset_PATCH()