Home
last modified time | relevance | path

Searched refs:cfdof (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/section/interface/
H A Dsection.c2059 PetscInt dof = 0, cdof = 0, fdof = 0, cfdof = 0; in PetscSectionCreateSubsection() local
2064 PetscCall(PetscSectionGetFieldConstraintDof(s, p, fields[f], &cfdof)); in PetscSectionCreateSubsection()
2065 if (cfdof) PetscCall(PetscSectionSetFieldConstraintDof(*subs, p, f, cfdof)); in PetscSectionCreateSubsection()
2067 cdof += cfdof; in PetscSectionCreateSubsection()
2092 PetscInt fdof = 0, cfdof = 0, fc, numConst = 0, fOff = 0; in PetscSectionCreateSubsection() local
2096 PetscCall(PetscSectionGetFieldConstraintDof(s, p, fields[f], &cfdof)); in PetscSectionCreateSubsection()
2099 for (fc = 0; fc < cfdof; ++fc) indices[numConst + fc] = oldIndices[fc] + fOff; in PetscSectionCreateSubsection()
2100 numConst += cfdof; in PetscSectionCreateSubsection()
2160 PetscInt dof, cdof, cfdof; in PetscSectionCreateComponentSubsection() local
2164 PetscCall(PetscSectionGetFieldConstraintDof(s, p, 0, &cfdof)); in PetscSectionCreateComponentSubsection()
[all …]
/petsc/src/dm/impls/plex/
H A Dplex.c7706 PetscInt fdof, cfdof; in DMPlexGetIndicesPointFields_Internal() local
7712 PetscCall(PetscSectionGetFieldConstraintDof(section, point, f, &cfdof)); in DMPlexGetIndicesPointFields_Internal()
7713 if (!cfdof || setBC) { in DMPlexGetIndicesPointFields_Internal()
7726 if ((cind < cfdof) && (b == fcdofs[cind])) { in DMPlexGetIndicesPointFields_Internal()
7734 foff += (setBC || islocal ? fdof : (fdof - cfdof)); in DMPlexGetIndicesPointFields_Internal()
7756 PetscInt fdof, cfdof; in DMPlexGetIndicesPointFieldsSplit_Internal() local
7762 PetscCall(PetscSectionGetFieldConstraintDof(section, point, f, &cfdof)); in DMPlexGetIndicesPointFieldsSplit_Internal()
7764 if (!cfdof) { in DMPlexGetIndicesPointFieldsSplit_Internal()
7777 if ((cind < cfdof) && (b == fcdofs[cind])) { in DMPlexGetIndicesPointFieldsSplit_Internal()