Searched refs:dofSection (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 517 PetscCall(PetscMalloc1(nsubspaces, &patch->dofSection)); in PCPatchSetDiscretisationInfo() 526 PetscCall(DMGetLocalSection(dms[i], &patch->dofSection[i])); in PCPatchSetDiscretisationInfo() 527 PetscCall(PetscObjectReference((PetscObject)patch->dofSection[i])); in PCPatchSetDiscretisationInfo() 556 PetscCall(PetscCalloc1(patch->nsubspaces, &patch->dofSection)); in PCPatchSetDiscretisationInfoCombined() 561 PetscCall(DMGetLocalSection(dm, &patch->dofSection[0])); in PCPatchSetDiscretisationInfoCombined() 562 PetscCall(PetscObjectReference((PetscObject)patch->dofSection[0])); in PCPatchSetDiscretisationInfoCombined() 563 …PetscCall(PetscSectionGetStorageSize(patch->dofSection[0], &patch->subspaceOffsets[patch->nsubspac… in PCPatchSetDiscretisationInfoCombined() 794 static PetscErrorCode PCPatchGetGlobalDofs(PC pc, PetscSection dofSection[], PetscInt f, PetscBool … in PCPatchGetGlobalDofs() argument 799 if (dof) PetscCall(PetscSectionGetDof(dofSection[0], p, dof)); in PCPatchGetGlobalDofs() 800 if (off) PetscCall(PetscSectionGetOffset(dofSection[0], p, off)); in PCPatchGetGlobalDofs() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | pcpatchimpl.h | 37 PetscSection *dofSection; /* ?? For each field, patch -> # dofs in patch */ member
|