Lines Matching refs:cSec
7790 …tscInt nPoints, const PetscInt pnts[], PetscSection section, PetscSection cSec, PetscInt tmpIndice… in DMPlexAnchorsGetSubMatIndices() argument
7797 PetscCall(PetscSectionGetChart(cSec, &cStart, &cEnd)); in DMPlexAnchorsGetSubMatIndices()
7806 if (b >= cStart && b < cEnd) PetscCall(PetscSectionGetDof(cSec, b, &cSecDof)); in DMPlexAnchorsGetSubMatIndices()
7807 indices_section = cSecDof > 0 ? cSec : section; in DMPlexAnchorsGetSubMatIndices()
7841 PetscSection aSec, cSec; in DMPlexAnchorsGetSubMatModification() local
7949 PetscCall(DMGetDefaultConstraints(dm, &cSec, &cMat, NULL)); in DMPlexAnchorsGetSubMatModification()
7950 PetscCall(PetscSectionGetChart(cSec, &cStart, &cEnd)); in DMPlexAnchorsGetSubMatModification()
7996 …PetscCall(DMPlexAnchorsGetSubMatIndices(numPoints, points, section, cSec, tmpIndices, oldOffsetsCo… in DMPlexAnchorsGetSubMatModification()
10670 …tscErrorCode DMPlexCreateConstraintSection_Anchors(DM dm, PetscSection section, PetscSection *cSec) in DMPlexCreateConstraintSection_Anchors() argument
10678 PetscCall(PetscSectionCreate(PETSC_COMM_SELF, cSec)); in DMPlexCreateConstraintSection_Anchors()
10682 PetscCall(PetscSectionSetNumFields(*cSec, numFields)); in DMPlexCreateConstraintSection_Anchors()
10688 PetscCall(PetscSectionSetFieldComponents(*cSec, f, numComp)); in DMPlexCreateConstraintSection_Anchors()
10696 PetscCall(PetscSectionSetChart(*cSec, pStart, pEnd)); in DMPlexCreateConstraintSection_Anchors()
10701 PetscCall(PetscSectionSetDof(*cSec, p, dof)); in DMPlexCreateConstraintSection_Anchors()
10704 PetscCall(PetscSectionSetFieldDof(*cSec, p, f, dof)); in DMPlexCreateConstraintSection_Anchors()
10708 PetscCall(PetscSectionSetUp(*cSec)); in DMPlexCreateConstraintSection_Anchors()
10709 PetscCall(PetscObjectSetName((PetscObject)*cSec, "Constraint Section")); in DMPlexCreateConstraintSection_Anchors()
10713 …ode DMPlexCreateConstraintMatrix_Anchors(DM dm, PetscSection section, PetscSection cSec, Mat *cMat) in DMPlexCreateConstraintMatrix_Anchors() argument
10725 PetscCall(PetscSectionGetStorageSize(cSec, &m)); in DMPlexCreateConstraintMatrix_Anchors()
10740 PetscCall(PetscSectionGetChart(cSec, &pStart, &pEnd)); in DMPlexCreateConstraintMatrix_Anchors()
10760 PetscCall(PetscSectionGetFieldDof(cSec, p, f, &dof)); in DMPlexCreateConstraintMatrix_Anchors()
10761 PetscCall(PetscSectionGetFieldOffset(cSec, p, f, &off)); in DMPlexCreateConstraintMatrix_Anchors()
10766 PetscCall(PetscSectionGetDof(cSec, p, &dof)); in DMPlexCreateConstraintMatrix_Anchors()
10773 PetscCall(PetscSectionGetDof(cSec, p, &dof)); in DMPlexCreateConstraintMatrix_Anchors()
10774 PetscCall(PetscSectionGetOffset(cSec, p, &off)); in DMPlexCreateConstraintMatrix_Anchors()
10784 PetscCall(PetscSectionGetFieldDof(cSec, p, f, &dof)); in DMPlexCreateConstraintMatrix_Anchors()
10801 PetscCall(PetscSectionGetDof(cSec, p, &dof)); in DMPlexCreateConstraintMatrix_Anchors()
10828 PetscSection anchorSection, section, cSec; in DMCreateDefaultConstraints_Plex() local
10838 PetscCall(DMPlexCreateConstraintSection_Anchors(dm, section, &cSec)); in DMCreateDefaultConstraints_Plex()
10839 PetscCall(DMPlexCreateConstraintMatrix_Anchors(dm, section, cSec, &cMat)); in DMCreateDefaultConstraints_Plex()
10841 …if (Nf && plex->computeanchormatrix) PetscCall((*plex->computeanchormatrix)(dm, section, cSec, cMa… in DMCreateDefaultConstraints_Plex()
10842 PetscCall(DMSetDefaultConstraints(dm, cSec, cMat, NULL)); in DMCreateDefaultConstraints_Plex()
10843 PetscCall(PetscSectionDestroy(&cSec)); in DMCreateDefaultConstraints_Plex()