Lines Matching refs:fdof
6538 PetscInt fdof, foff, b; in DMPlexVecGetClosure_Fields_Static() local
6543 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in DMPlexVecGetClosure_Fields_Static()
6548 for (b = 0; b < fdof; b++) array[clperm[offset + perm[b]]] = varr[b]; in DMPlexVecGetClosure_Fields_Static()
6550 for (b = 0; b < fdof; b++) array[clperm[offset + b]] = varr[b]; in DMPlexVecGetClosure_Fields_Static()
6553 for (b = 0; b < fdof; b++) array[clperm[offset + b]] *= flip[b]; in DMPlexVecGetClosure_Fields_Static()
6557 for (b = 0; b < fdof; b++) array[offset + perm[b]] = varr[b]; in DMPlexVecGetClosure_Fields_Static()
6559 for (b = 0; b < fdof; b++) array[offset + b] = varr[b]; in DMPlexVecGetClosure_Fields_Static()
6562 for (b = 0; b < fdof; b++) array[offset + b] *= flip[b]; in DMPlexVecGetClosure_Fields_Static()
6565 offset += fdof; in DMPlexVecGetClosure_Fields_Static()
7029 PetscInt fdof, foff, fcdof, foffset = *offset; in updatePointFields_private() local
7034 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in updatePointFields_private()
7041 …for (b = 0; b < fdof; b++) fuse(&a[b], values[clperm[foffset + perm[b]]] * (flip ? flip[perm[b]] :… in updatePointFields_private()
7043 for (b = 0; b < fdof; b++) fuse(&a[b], values[clperm[foffset + b]] * (flip ? flip[b] : 1.)); in updatePointFields_private()
7047 … for (b = 0; b < fdof; b++) fuse(&a[b], values[foffset + perm[b]] * (flip ? flip[perm[b]] : 1.)); in updatePointFields_private()
7049 for (b = 0; b < fdof; b++) fuse(&a[b], values[foffset + b] * (flip ? flip[b] : 1.)); in updatePointFields_private()
7056 for (b = 0; b < fdof; b++) { in updatePointFields_private()
7064 for (b = 0; b < fdof; b++) { in updatePointFields_private()
7074 for (b = 0; b < fdof; b++) { in updatePointFields_private()
7082 for (b = 0; b < fdof; b++) { in updatePointFields_private()
7092 *offset += fdof; in updatePointFields_private()
7099 PetscInt fdof, foff, fcdof, foffset = *offset; in updatePointFieldsBC_private() local
7106 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in updatePointFieldsBC_private()
7116 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7129 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7138 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7151 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7162 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7175 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7184 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7197 for (b = 0; b < fdof; b++) { in updatePointFieldsBC_private()
7207 *offset += fdof; in updatePointFieldsBC_private()
7465 PetscInt fdof; in CheckPoint_Private() local
7469 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in CheckPoint_Private()
7470 *offset += fdof; in CheckPoint_Private()
7506 PetscInt fdof; in DMPlexVecSetFieldClosure_Internal() local
7507 PetscCall(PetscSectionGetFieldDof(section, points[p], f, &fdof)); in DMPlexVecSetFieldClosure_Internal()
7508 offset += fdof; in DMPlexVecSetFieldClosure_Internal()
7706 PetscInt fdof, cfdof; in DMPlexGetIndicesPointFields_Internal() local
7711 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in DMPlexGetIndicesPointFields_Internal()
7714 for (b = 0; b < fdof; ++b) { in DMPlexGetIndicesPointFields_Internal()
7722 for (b = 0; b < fdof; ++b) { in DMPlexGetIndicesPointFields_Internal()
7734 foff += (setBC || islocal ? fdof : (fdof - cfdof)); in DMPlexGetIndicesPointFields_Internal()
7735 foffs[f] += fdof; in DMPlexGetIndicesPointFields_Internal()
7756 PetscInt fdof, cfdof; in DMPlexGetIndicesPointFieldsSplit_Internal() local
7761 PetscCall(PetscSectionGetFieldDof(section, point, f, &fdof)); in DMPlexGetIndicesPointFieldsSplit_Internal()
7765 for (b = 0; b < fdof; ++b) { in DMPlexGetIndicesPointFieldsSplit_Internal()
7773 for (b = 0; b < fdof; ++b) { in DMPlexGetIndicesPointFieldsSplit_Internal()
7785 foffs[f] += fdof; in DMPlexGetIndicesPointFieldsSplit_Internal()
8198 PetscInt dof, fdof; in DMPlexGetClosureIndices_Internal() local
8202 PetscCall(PetscSectionGetFieldDof(section, points[p], f, &fdof)); in DMPlexGetClosureIndices_Internal()
8203 offsets[f + 1] += fdof; in DMPlexGetClosureIndices_Internal()
8224 PetscInt pnt = points[2 * p], fdof; in DMPlexGetClosureIndices_Internal() local
8227 if (!Nf) PetscCall(PetscSectionGetDof(section, pnt, &fdof)); in DMPlexGetClosureIndices_Internal()
8228 else PetscCall(PetscSectionGetFieldDof(section, pnt, f, &fdof)); in DMPlexGetClosureIndices_Internal()
8237 for (i = 0; i < fdof; ++i) { in DMPlexGetClosureIndices_Internal()
8248 foffset += fdof; in DMPlexGetClosureIndices_Internal()
8598 PetscInt fdof; in DMPlexMatSetClosureRefined() local
8603 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof)); in DMPlexMatSetClosureRefined()
8604 coffsets[f + 1] += fdof; in DMPlexMatSetClosureRefined()
8644 PetscInt fdof; in DMPlexMatSetClosureRefined() local
8649 PetscCall(PetscSectionGetFieldDof(fsection, ftotpoints[p], f, &fdof)); in DMPlexMatSetClosureRefined()
8650 foffsets[f + 1] += fdof; in DMPlexMatSetClosureRefined()
8758 PetscInt fdof; in DMPlexMatGetClosureIndicesRefined() local
8763 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof)); in DMPlexMatGetClosureIndicesRefined()
8764 coffsets[f + 1] += fdof; in DMPlexMatGetClosureIndicesRefined()
8804 PetscInt fdof; in DMPlexMatGetClosureIndicesRefined() local
8809 PetscCall(PetscSectionGetFieldDof(fsection, ftotpoints[p], f, &fdof)); in DMPlexMatGetClosureIndicesRefined()
8810 foffsets[f + 1] += fdof; in DMPlexMatGetClosureIndicesRefined()
10887 PetscInt fdof, fcdof; in DMCreateSubDomainDM_Plex() local
10889 PetscCall(PetscSectionGetFieldDof(subsection, p, f, &fdof)); in DMCreateSubDomainDM_Plex()
10891 pSubSize += fdof - fcdof; in DMCreateSubDomainDM_Plex()
10923 PetscInt fdof, fcdof, fc, f2, poff = 0; in DMCreateSubDomainDM_Plex() local
10927 PetscCall(PetscSectionGetFieldDof(section, p, f2, &fdof)); in DMCreateSubDomainDM_Plex()
10929 poff += fdof - fcdof; in DMCreateSubDomainDM_Plex()
10931 PetscCall(PetscSectionGetFieldDof(section, p, f, &fdof)); in DMCreateSubDomainDM_Plex()
10933 for (fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in DMCreateSubDomainDM_Plex()