Lines Matching refs:atlasDof

49   (*s)->atlasDof            = NULL;  in PetscSectionCreate()
678 PetscCall(PetscFree2(s->atlasDof, s->atlasOff)); in PetscSectionSetChart()
682 PetscCall(PetscMalloc2(pEnd - pStart, &s->atlasDof, pEnd - pStart, &s->atlasOff)); in PetscSectionSetChart()
683 PetscCall(PetscArrayzero(s->atlasDof, pEnd - pStart)); in PetscSectionSetChart()
947 *numDof = s->atlasDof[point - s->pStart]; in PetscSectionGetDof()
973 s->atlasDof[point - s->pStart] = numDof; in PetscSectionSetDof()
1001 s->atlasDof[point - s->pStart] += numDof; in PetscSectionAddDof()
1274 …if (last >= 0) PetscCall(PetscMalloc1(s->bc->atlasOff[last] + s->bc->atlasDof[last], &s->bcIndices… in PetscSectionSetUpBC()
1318 offset += s->atlasDof[q]; in PetscSectionSetUp()
1324 foff += sf->atlasDof[q]; in PetscSectionSetUp()
1336 offset += sf->atlasDof[q]; in PetscSectionSetUp()
1388 for (p = 0; p < s->pEnd - s->pStart; ++p) s->maxDof = PetscMax(s->maxDof, s->atlasDof[p]); in PetscSectionGetMaxDof()
1416 for (PetscInt p = 0; p < s->pEnd - s->pStart; ++p) n += s->atlasDof[p] > 0 ? s->atlasDof[p] : 0; in PetscSectionGetStorageSize()
1444 const PetscInt cdof = s->bc ? s->bc->atlasDof[p] : 0; in PetscSectionGetConstrainedStorageSize()
1445 n += s->atlasDof[p] > 0 ? s->atlasDof[p] - cdof : 0; in PetscSectionGetConstrainedStorageSize()
1517 …cIndices, gs->bc->atlasOff[gs->bc->pEnd - gs->bc->pStart - 1] + gs->bc->atlasDof[gs->bc->pEnd - gs… in PetscSectionCreateGlobalSection()
1524 gs->atlasDof[p - pStart] = recv[p]; in PetscSectionCreateGlobalSection()
1535 cdof = (!includeConstraints && s->bc) ? s->bc->atlasDof[q] : 0; in PetscSectionCreateGlobalSection()
1537 off += gs->atlasDof[q] > 0 ? gs->atlasDof[q] - cdof : 0; in PetscSectionCreateGlobalSection()
1584 …ices, gfs->bc->atlasOff[gfs->bc->pEnd - gfs->bc->pStart - 1] + gfs->bc->atlasDof[gfs->bc->pEnd - g… in PetscSectionCreateGlobalSection()
1642 tmpOff = &(*gsection)->atlasDof[-pStart]; in PetscSectionCreateGlobalSectionCensored()
1666 if (tmpOff[p] < 0) (*gsection)->atlasDof[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionCensored()
1675 cdof = (!includeConstraints && s->bc) ? s->bc->atlasDof[q] : 0; in PetscSectionCreateGlobalSectionCensored()
1677 off += (*gsection)->atlasDof[q] > 0 ? (*gsection)->atlasDof[q] - cdof : 0; in PetscSectionCreateGlobalSectionCensored()
1993 PetscInt dof = s->atlasDof[p], off = s->atlasOff[p]; in PetscSectionGetOffsetRange()
2469 if (s->bc && s->bc->atlasDof[p] > 0) { in PetscSectionView_ASCII()
2471 …etscInt_FMT " offset %3" PetscInt_FMT " constrained", p + s->pStart, s->atlasDof[p], s->atlasOff[p… in PetscSectionView_ASCII()
2473 …for (b = 0; b < s->bc->atlasDof[p]; ++b) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %"… in PetscSectionView_ASCII()
2477 … dof %2" PetscInt_FMT " offset %3" PetscInt_FMT "\n", p + s->pStart, s->atlasDof[p], s->atlasOff[p… in PetscSectionView_ASCII()
2676 if (s->bc && (s->bc->atlasDof[p] > 0)) { in PetscSectionArrayView_ASCII_Internal()
2679 …MT ") dof %2" PetscInt_FMT " offset %3" PetscInt_FMT, p + s->pStart, s->atlasDof[p], s->atlasOff[p… in PetscSectionArrayView_ASCII_Internal()
2680 …for (i = s->atlasOff[p]; i < s->atlasOff[p] + s->atlasDof[p]; ++i) PetscCall(PrintArrayElement(arr… in PetscSectionArrayView_ASCII_Internal()
2682 …for (b = 0; b < s->bc->atlasDof[p]; ++b) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %"… in PetscSectionArrayView_ASCII_Internal()
2685 …MT ") dof %2" PetscInt_FMT " offset %3" PetscInt_FMT, p + s->pStart, s->atlasDof[p], s->atlasOff[p… in PetscSectionArrayView_ASCII_Internal()
2686 …for (i = s->atlasOff[p]; i < s->atlasOff[p] + s->atlasDof[p]; ++i) PetscCall(PrintArrayElement(arr… in PetscSectionArrayView_ASCII_Internal()
2794 PetscCall(PetscFree2(s->atlasDof, s->atlasOff)); in PetscSectionReset()
2862 const PetscInt dim = s->atlasDof[p]; in VecIntSetValuesSection_Private()
2875 const PetscInt dim = s->field[field]->atlasDof[p]; in VecIntSetValuesSection_Private()
2883 const PetscInt dim = s->atlasDof[p]; in VecIntSetValuesSection_Private()
2913 const PetscInt dim = s->field[field]->atlasDof[p]; /* PetscSectionGetFieldDof() */ in VecIntSetValuesSection_Private()
2914 … const PetscInt tDim = s->field[field]->bc->atlasDof[p]; /* PetscSectionGetFieldConstraintDof() */ in VecIntSetValuesSection_Private()
3004 const PetscInt dof = s->atlasDof[point]; in PetscSectionSetConstraintIndices()
3005 const PetscInt cdof = s->bc->atlasDof[point]; in PetscSectionSetConstraintIndices()