Home
last modified time | relevance | path

Searched refs:atlasDof (Results 1 – 9 of 9) sorted by relevance

/petsc/src/vec/is/section/interface/
H A Dsection.c49 (*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()
[all …]
/petsc/src/vec/vec/utils/
H A Dvsection.c120 const PetscInt dim = s->atlasDof[p]; in VecSetValuesSection()
133 const PetscInt dim = s->field[field]->atlasDof[p]; /* PetscSectionGetFieldDof() */ in VecSetValuesSection()
141 const PetscInt dim = s->atlasDof[p]; in VecSetValuesSection()
174 const PetscInt dim = s->field[field]->atlasDof[p]; /* PetscSectionGetFieldDof() */ in VecSetValuesSection()
175 … const PetscInt tDim = s->field[field]->bc->atlasDof[p]; /* PetscSectionGetFieldConstraintDof() */ in VecSetValuesSection()
/petsc/src/vec/is/sf/utils/
H A Dsfutils.c314 …, PetscSafePointerPlusOffset(rootSection->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSect… in PetscSFDistributeSection()
315 …, PetscSafePointerPlusOffset(rootSection->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSect… in PetscSFDistributeSection()
319 …tscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->atlasDo… in PetscSFDistributeSection()
320 …PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->atlasDo… in PetscSFDistributeSection()
323 …terPlusOffset(rootSection->field[f]->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->… in PetscSFDistributeSection()
324 …terPlusOffset(rootSection->field[f]->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->… in PetscSFDistributeSection()
328 …(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->at… in PetscSFDistributeSection()
329 …(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->at… in PetscSFDistributeSection()
/petsc/include/petsc/private/
H A Ddmimpl.h442 *end = *start + s->atlasDof[point - s->pStart]; in DMGetLocalOffset_Private()
464 *end = *start + s->atlasDof[point - s->pStart]; in DMGetLocalFieldOffset_Private()
487 const PetscInt dof = s->atlasDof[point - s->pStart]; in DMGetGlobalOffset_Private()
488 const PetscInt cdof = s->bc ? s->bc->atlasDof[point - s->bc->pStart] : 0; in DMGetGlobalOffset_Private()
525 const PetscInt fdof = fs->atlasDof[point - s->pStart]; in DMGetGlobalFieldOffset_Private()
526 const PetscInt fcdof = fs->bc ? fs->bc->atlasDof[point - fs->bc->pStart] : 0; in DMGetGlobalFieldOffset_Private()
531 ffcdof += ffs->bc ? ffs->bc->atlasDof[point - ffs->bc->pStart] : 0; in DMGetGlobalFieldOffset_Private()
H A Dsectionimpl.h35 PetscInt *atlasDof; /* Describes layout of storage, point --> # of values */ member
/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c383 …scCall(PetscSFReduceBegin(sfDof, MPIU_INT, leafSectionAdj->atlasDof, rootSectionAdj->atlasDof, MPI… in DMPlexCreateAdjacencySection_Static()
384 …PetscCall(PetscSFReduceEnd(sfDof, MPIU_INT, leafSectionAdj->atlasDof, rootSectionAdj->atlasDof, MP… in DMPlexCreateAdjacencySection_Static()
H A Dplex.c3987 *size = s->atlasDof[ps]; in DMPlexGetTransitiveClosure_Hot_Private()
3995 *size = s->atlasDof[ps]; in DMPlexGetTransitiveClosure_Hot_Private()
/petsc/src/dm/label/
H A Ddmlabel.c2611 tmpOff = &(*gsection)->atlasDof[-pStart]; in PetscSectionCreateGlobalSectionLabel()
2632 if (tmpOff[p] < 0) (*gsection)->atlasDof[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()
2638 cdof = (!includeConstraints && s->bc) ? s->bc->atlasDof[p] : 0; in PetscSectionCreateGlobalSectionLabel()
2640 off += (*gsection)->atlasDof[p] > 0 ? (*gsection)->atlasDof[p] - cdof : 0; in PetscSectionCreateGlobalSectionLabel()
/petsc/doc/manual/
H A Ddmplex.md484 dataset /topologies/plexA/dms/dmA/section/atlasDof