Lines Matching refs:unionSection

224   PetscSection unionSection, unionConeSection, parentSection;  in DMPlexCreateReferenceTree_Union()  local
235 PetscCall(PetscSectionCreate(comm, &unionSection)); in DMPlexCreateReferenceTree_Union()
236 PetscCall(PetscSectionSetChart(unionSection, 0, (pEnd - pStart) + (pRefEnd - pRefStart))); in DMPlexCreateReferenceTree_Union()
238 for (p = pStart; p < pEnd; p++) PetscCall(PetscSectionSetDof(unionSection, p - pStart, 1)); in DMPlexCreateReferenceTree_Union()
243 if (qSize > 1) PetscCall(PetscSectionSetDof(unionSection, p - pRefStart + (pEnd - pStart), 1)); in DMPlexCreateReferenceTree_Union()
258 PetscCall(PetscSectionSetPermutation(unionSection, perm)); in DMPlexCreateReferenceTree_Union()
259 PetscCall(PetscSectionSetUp(unionSection)); in DMPlexCreateReferenceTree_Union()
260 PetscCall(PetscSectionGetStorageSize(unionSection, &numUnionPoints)); in DMPlexCreateReferenceTree_Union()
266 PetscCall(PetscSectionGetOffset(unionSection, cStart - pStart, &cOff)); in DMPlexCreateReferenceTree_Union()
269 PetscCall(PetscSectionGetOffset(unionSection, cStart - pStart, &cOff2)); in DMPlexCreateReferenceTree_Union()
282 PetscCall(PetscSectionGetOffset(unionSection, p - pStart, &uOff)); in DMPlexCreateReferenceTree_Union()
290 PetscCall(PetscSectionGetDof(unionSection, p - pRefStart + (pEnd - pStart), &uDof)); in DMPlexCreateReferenceTree_Union()
291 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
308 PetscCall(PetscSectionGetOffset(unionSection, p - pStart, &uOff)); in DMPlexCreateReferenceTree_Union()
313 PetscCall(PetscSectionGetOffset(unionSection, e - pStart, &eOff)); in DMPlexCreateReferenceTree_Union()
325 PetscCall(PetscSectionGetDof(unionSection, p - pRefStart + (pEnd - pStart), &uDof)); in DMPlexCreateReferenceTree_Union()
326 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
333 PetscCall(PetscSectionGetDof(unionSection, e - pRefStart + (pEnd - pStart), &eDof)); in DMPlexCreateReferenceTree_Union()
335 PetscCall(PetscSectionGetOffset(unionSection, e - pRefStart + (pEnd - pStart), &eOff)); in DMPlexCreateReferenceTree_Union()
338 PetscCall(PetscSectionGetOffset(unionSection, e - pStart, &eOff)); in DMPlexCreateReferenceTree_Union()
363 PetscCall(PetscSectionGetOffset(unionSection, v - pStart, &vOff)); in DMPlexCreateReferenceTree_Union()
370 PetscCall(PetscSectionGetDof(unionSection, v - pRefStart + (pEnd - pStart), &vDof)); in DMPlexCreateReferenceTree_Union()
371 PetscCall(PetscSectionGetOffset(unionSection, v - pRefStart + (pEnd - pStart), &vOff)); in DMPlexCreateReferenceTree_Union()
389 PetscCall(PetscSectionGetDof(unionSection, p - pRefStart + (pEnd - pStart), &uDof)); in DMPlexCreateReferenceTree_Union()
390 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
399 PetscCall(PetscSectionGetDof(unionSection, p - pRefStart + (pEnd - pStart), &uDof)); in DMPlexCreateReferenceTree_Union()
400 PetscCall(PetscSectionGetOffset(unionSection, p - pRefStart + (pEnd - pStart), &uOff)); in DMPlexCreateReferenceTree_Union()
405 PetscCall(PetscSectionGetOffset(unionSection, parent - pStart, &parentU)); in DMPlexCreateReferenceTree_Union()
415 PetscCall(PetscSectionDestroy(&unionSection)); in DMPlexCreateReferenceTree_Union()