Searched refs:pcpatch (Results 1 – 1 of 1) sorted by relevance
17 PC_PATCH *pcpatch = (PC_PATCH *)pc->data; in SNESPatchComputeResidual_Private() local25 pt = pcpatch->currentPatch; in SNESPatchComputeResidual_Private()26 PetscCall(ISGetSize(pcpatch->dofMappingWithoutToWithAll[pt], &size)); in SNESPatchComputeResidual_Private()28 PetscCall(ISGetIndices(pcpatch->dofMappingWithoutToWithAll[pt], &indices)); in SNESPatchComputeResidual_Private()30 PetscCall(VecGetArray(pcpatch->patchStateWithAll, &XWithAll)); in SNESPatchComputeResidual_Private()34 PetscCall(VecRestoreArray(pcpatch->patchStateWithAll, &XWithAll)); in SNESPatchComputeResidual_Private()36 PetscCall(ISRestoreIndices(pcpatch->dofMappingWithoutToWithAll[pt], &indices)); in SNESPatchComputeResidual_Private()38 PetscCall(PCPatchComputeFunction_Internal(pc, pcpatch->patchStateWithAll, F, pt)); in SNESPatchComputeResidual_Private()45 PC_PATCH *pcpatch = (PC_PATCH *)pc->data; in SNESPatchComputeJacobian_Private() local53 pt = pcpatch->currentPatch; in SNESPatchComputeJacobian_Private()[all …]