Lines Matching refs:leafSection
238 …eSection(PetscSF sf, PetscSection rootSection, PetscInt *remoteOffsets[], PetscSection leafSection) in PetscSFDistributeSection() argument
250 PetscValidHeaderSpecific(leafSection, PETSC_SECTION_CLASSID, 4); in PetscSFDistributeSection()
260 PetscCall(PetscSectionGetPermutation(leafSection, &perm)); in PetscSFDistributeSection()
262 PetscCall(PetscSectionSetNumFields(leafSection, numFields)); in PetscSFDistributeSection()
263 PetscCall(PetscSectionSetPermutation(leafSection, perm)); in PetscSFDistributeSection()
278 PetscCall(PetscSectionSetFieldComponents(leafSection, f, numComp)); in PetscSFDistributeSection()
279 PetscCall(PetscSectionSetFieldName(leafSection, f, name)); in PetscSFDistributeSection()
280 PetscCall(PetscSectionSetFieldSym(leafSection, f, dsym)); in PetscSFDistributeSection()
284 PetscCall(PetscSectionSetComponentName(leafSection, f, c, name)); in PetscSFDistributeSection()
307 PetscCall(PetscSectionSetChart(leafSection, lpStart, lpEnd)); in PetscSFDistributeSection()
314 …lusOffset(rootSection->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->atlasDof, -lpS… in PetscSFDistributeSection()
315 …lusOffset(rootSection->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->atlasDof, -lpS… in PetscSFDistributeSection()
318 PetscCall(PetscSectionCheckConstraints_Private(leafSection)); in PetscSFDistributeSection()
319 …SFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->atlasDof[-… in PetscSFDistributeSection()
320 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->b… in PetscSFDistributeSection()
323 …rootSection->field[f]->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->field[f]->atla… in PetscSFDistributeSection()
324 …rootSection->field[f]->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->field[f]->atla… in PetscSFDistributeSection()
327 PetscCall(PetscSectionCheckConstraints_Private(leafSection->field[f])); in PetscSFDistributeSection()
328 …in(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->… in PetscSFDistributeSection()
329 …nd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->… in PetscSFDistributeSection()
337 PetscCall(PetscSectionInvalidateMaxDof_Internal(leafSection)); in PetscSFDistributeSection()
338 PetscCall(PetscSectionSetUp(leafSection)); in PetscSFDistributeSection()
347 PetscCall(PetscSFCreateSectionSF(embedSF, rootSection->bc, rOffBc, leafSection->bc, &bcSF)); in PetscSFDistributeSection()
348 …PetscCall(PetscSFBcastBegin(bcSF, MPIU_INT, rootSection->bcIndices, leafSection->bcIndices, MPI_RE… in PetscSFDistributeSection()
349 …PetscCall(PetscSFBcastEnd(bcSF, MPIU_INT, rootSection->bcIndices, leafSection->bcIndices, MPI_REPL… in PetscSFDistributeSection()
356 …PetscCall(PetscSFCreateSectionSF(embedSF, rootSection->field[f]->bc, rOffBc, leafSection->field[f]… in PetscSFDistributeSection()
357 …PetscCall(PetscSFBcastBegin(bcSF, MPIU_INT, rootSection->field[f]->bcIndices, leafSection->field[f… in PetscSFDistributeSection()
358 …PetscCall(PetscSFBcastEnd(bcSF, MPIU_INT, rootSection->field[f]->bcIndices, leafSection->field[f]-… in PetscSFDistributeSection()
393 …CreateRemoteOffsets(PetscSF sf, PetscSection rootSection, PetscSection leafSection, PetscInt *remo… in PetscSFCreateRemoteOffsets() argument
403 PetscValidHeaderSpecific(leafSection, PETSC_SECTION_CLASSID, 3); in PetscSFCreateRemoteOffsets()
410 PetscCall(PetscSectionGetChart(leafSection, &lpStart, &lpEnd)); in PetscSFCreateRemoteOffsets()
445 …F sf, PetscSection rootSection, PetscInt remoteOffsets[], PetscSection leafSection, PetscSF *secti… in PetscSFCreateSectionSF() argument
460 PetscAssertPointer(leafSection, 4); in PetscSFCreateSectionSF()
464 PetscCall(PetscSectionGetChart(leafSection, &lpStart, &lpEnd)); in PetscSFCreateSectionSF()
474 PetscCall(PetscSectionGetDof(leafSection, localPoint, &dof)); in PetscSFCreateSectionSF()
489 PetscCall(PetscSectionGetOffset(leafSection, localPoint, &loff)); in PetscSFCreateSectionSF()
490 PetscCall(PetscSectionGetDof(leafSection, localPoint, &dof)); in PetscSFCreateSectionSF()