Lines Matching refs:rootSection

238 PetscErrorCode PetscSFDistributeSection(PetscSF sf, PetscSection rootSection, PetscInt *remoteOffse…  in PetscSFDistributeSection()  argument
248 PetscValidHeaderSpecific(rootSection, PETSC_SECTION_CLASSID, 2); in PetscSFDistributeSection()
252 PetscCall(PetscSectionGetNumFields(rootSection, &numFields)); in PetscSFDistributeSection()
267 sub[1] = rootSection->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSFDistributeSection()
273 sub[2 + f] = rootSection->field[f]->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSFDistributeSection()
274 PetscCall(PetscSectionGetFieldComponents(rootSection, f, &numComp)); in PetscSFDistributeSection()
275 PetscCall(PetscSectionGetFieldName(rootSection, f, &name)); in PetscSFDistributeSection()
276 PetscCall(PetscSectionGetFieldSym(rootSection, f, &sym)); in PetscSFDistributeSection()
282 for (c = 0; c < rootSection->numFieldComponents[f]; ++c) { in PetscSFDistributeSection()
283 PetscCall(PetscSectionGetComponentName(rootSection, f, c, &name)); in PetscSFDistributeSection()
287 PetscCall(PetscSectionGetChart(rootSection, &rpStart, &rpEnd)); in PetscSFDistributeSection()
314 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasDof, -… in PetscSFDistributeSection()
315 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasDof, -rp… in PetscSFDistributeSection()
317 PetscCall(PetscSectionCheckConstraints_Private(rootSection)); in PetscSFDistributeSection()
319 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection-… in PetscSFDistributeSection()
320 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->b… in PetscSFDistributeSection()
323 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->field[f]->a… in PetscSFDistributeSection()
324 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->field[f]->atl… in PetscSFDistributeSection()
326 PetscCall(PetscSectionCheckConstraints_Private(rootSection->field[f])); in PetscSFDistributeSection()
328 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &le… in PetscSFDistributeSection()
329 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leaf… in PetscSFDistributeSection()
334 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -… in PetscSFDistributeSection()
335 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rp… in PetscSFDistributeSection()
345 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpSt… in PetscSFDistributeSection()
346 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpStar… 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()
354 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rO… in PetscSFDistributeSection()
355 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOff… 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 PetscErrorCode PetscSFCreateRemoteOffsets(PetscSF sf, PetscSection rootSection, PetscSection leafSe… in PetscSFCreateRemoteOffsets() argument
402 PetscValidHeaderSpecific(rootSection, PETSC_SECTION_CLASSID, 2); in PetscSFCreateRemoteOffsets()
409 PetscCall(PetscSectionGetChart(rootSection, &rpStart, &rpEnd)); in PetscSFCreateRemoteOffsets()
417 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -… in PetscSFCreateRemoteOffsets()
418 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rp… in PetscSFCreateRemoteOffsets()
445 PetscErrorCode PetscSFCreateSectionSF(PetscSF sf, PetscSection rootSection, PetscInt remoteOffsets[… in PetscSFCreateSectionSF() argument
458 PetscAssertPointer(rootSection, 2); in PetscSFCreateSectionSF()
465 PetscCall(PetscSectionGetStorageSize(rootSection, &numSectionRoots)); in PetscSFCreateSectionSF()