Lines Matching refs:patchSection
1634 PetscCall(PetscSectionCreate(PETSC_COMM_SELF, &patch->patchSection)); in PCPatchCreateCellPatchDiscretisationInfo()
1635 PetscCall(PetscSectionSetNumFields(patch->patchSection, patch->nsubspaces)); in PCPatchCreateCellPatchDiscretisationInfo()
1641 PetscCall(PetscSectionSetChart(patch->patchSection, pStart, pEnd)); in PCPatchCreateCellPatchDiscretisationInfo()
1646 PetscCall(PetscSectionSetDof(patch->patchSection, p, dof)); in PCPatchCreateCellPatchDiscretisationInfo()
1649 PetscCall(PetscSectionSetFieldDof(patch->patchSection, p, f, fdof)); in PCPatchCreateCellPatchDiscretisationInfo()
1661 PetscCall(PetscSectionSetChart(patch->patchSection, pStart, pEnd)); in PCPatchCreateCellPatchDiscretisationInfo()
1667 PetscCall(PetscSectionAddDof(patch->patchSection, p, fdof)); in PCPatchCreateCellPatchDiscretisationInfo()
1668 PetscCall(PetscSectionSetFieldDof(patch->patchSection, p, f, fdof)); in PCPatchCreateCellPatchDiscretisationInfo()
1672 PetscCall(PetscSectionSetUp(patch->patchSection)); in PCPatchCreateCellPatchDiscretisationInfo()
1673 PetscCall(PetscSectionSetUseFieldOffsets(patch->patchSection, PETSC_TRUE)); in PCPatchCreateCellPatchDiscretisationInfo()
1915 PetscCall(PetscSectionGetFieldDof(patch->patchSection, point, f, &dof)); in PCPatchComputeFunction_DMPlex_Private()
1916 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeFunction_DMPlex_Private()
1917 …if (patch->nsubspaces == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(po… in PCPatchComputeFunction_DMPlex_Private()
1918 else PetscCall(PetscSectionSetOffset(patch->patchSection, point, -1)); in PCPatchComputeFunction_DMPlex_Private()
1923 …if (patch->viewSection) PetscCall(ObjectView((PetscObject)patch->patchSection, patch->viewerSectio… in PCPatchComputeFunction_DMPlex_Private()
1924 …PetscCall(DMPlexComputeResidual_Patch_Internal(dm, patch->patchSection, cellIS, 0.0, x, NULL, F, c… in PCPatchComputeFunction_DMPlex_Private()
1996 PetscCall(PetscSectionGetFieldDof(patch->patchSection, point, f, &dof)); in PCPatchComputeOperator_DMPlex_Private()
1997 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeOperator_DMPlex_Private()
1998 …if (patch->nsubspaces == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(po… in PCPatchComputeOperator_DMPlex_Private()
1999 else PetscCall(PetscSectionSetOffset(patch->patchSection, point, -1)); in PCPatchComputeOperator_DMPlex_Private()
2004 …if (patch->viewSection) PetscCall(ObjectView((PetscObject)patch->patchSection, patch->viewerSectio… in PCPatchComputeOperator_DMPlex_Private()
2006 …PetscCall(DMPlexComputeJacobian_Patch_Internal(dm, patch->patchSection, patch->patchSection, cellI… in PCPatchComputeOperator_DMPlex_Private()
2884 PetscCall(PetscSectionDestroy(&patch->patchSection)); in PCReset_PATCH()