| /petsc/src/vec/vec/utils/ |
| H A D | vsection.c | 215 PetscInt fdof, fc, f2, poff = 0; in PetscSectionGetField_Internal() local 221 poff += fdof; in PetscSectionGetField_Internal() 224 for (fc = 0; fc < fdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionGetField_Internal()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexinterpolate.c | 638 PetscInt coneSize, pStart, pEnd, poff = 0; in DMPlexInterpolateFaces_Internal() local 647 if (pStart >= fStart) poff = fEnd - fStart; in DMPlexInterpolateFaces_Internal() 650 PetscCall(DMPlexSetConeSize(idm, p + poff, coneSize)); in DMPlexInterpolateFaces_Internal() 652 PetscCall(DMPlexSetCellType(idm, p + poff, ct)); in DMPlexInterpolateFaces_Internal() 660 PetscInt numFaces, poff = 0; in DMPlexInterpolateFaces_Internal() local 664 if (c >= fStart) poff = fEnd - fStart; in DMPlexInterpolateFaces_Internal() 666 PetscCall(DMPlexSetCellType(idm, c + poff, ct)); in DMPlexInterpolateFaces_Internal() 667 PetscCall(DMPlexSetConeSize(idm, c + poff, 2)); in DMPlexInterpolateFaces_Internal() 671 PetscCall(DMPlexSetCellType(idm, c + poff, ct)); in DMPlexInterpolateFaces_Internal() 672 PetscCall(DMPlexSetConeSize(idm, c + poff, numFaces)); in DMPlexInterpolateFaces_Internal() [all …]
|
| H A D | plexdistribute.c | 1880 PetscInt pStart, pEnd, proc, npoints, poff = 0, nranks; in DMPlexDistribute() local 1892 PetscCall(PetscHSetIGetElems(ht, &poff, iranks)); in DMPlexDistribute() 1902 PetscCall(PetscSectionGetOffset(cellPartSection, proc, &poff)); in DMPlexDistribute() 1903 PetscCall(DMPlexClosurePoints_Private(dm, npoints, points + poff, &is)); in DMPlexDistribute()
|
| H A D | plex.c | 10923 PetscInt fdof, fcdof, fc, f2, poff = 0; in DMCreateSubDomainDM_Plex() local 10929 poff += fdof - fcdof; in DMCreateSubDomainDM_Plex() 10933 for (fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in DMCreateSubDomainDM_Plex()
|
| /petsc/src/dm/interface/ |
| H A D | dmi.c | 176 PetscInt fdof, fcdof, poff = 0; in PetscSectionSelectFields_Private() local 182 poff += fdof - fcdof; in PetscSectionSelectFields_Private() 202 subIndices[subOff++] = goff + poff + pfoff; in PetscSectionSelectFields_Private() 209 … for (PetscInt fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionSelectFields_Private()
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 1897 PetscInt Nf = patch->nsubspaces, Np, poff, p, f; in PCPatchComputeFunction_DMPlex_Private() local 1907 PetscCall(PetscSectionGetOffset(patch->pointCounts, patchNum, &poff)); in PCPatchComputeFunction_DMPlex_Private() 1912 const PetscInt point = parray[poff + p]; in PCPatchComputeFunction_DMPlex_Private() 1916 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeFunction_DMPlex_Private() 1917 …es == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(poff + p) * Nf + f])); in PCPatchComputeFunction_DMPlex_Private() 1979 PetscInt Nf = patch->nsubspaces, Np, poff, p, f; in PCPatchComputeOperator_DMPlex_Private() local 1988 PetscCall(PetscSectionGetOffset(patch->pointCounts, patchNum, &poff)); in PCPatchComputeOperator_DMPlex_Private() 1993 const PetscInt point = parray[poff + p]; in PCPatchComputeOperator_DMPlex_Private() 1997 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeOperator_DMPlex_Private() 1998 …es == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(poff + p) * Nf + f])); in PCPatchComputeOperator_DMPlex_Private()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 609 PetscInt fdof, fc, f2, poff = 0; in VecView_Plex_Local_HDF5_Internal() local 615 poff += fdof; in VecView_Plex_Local_HDF5_Internal() 618 for (fc = 0; fc < fdof; ++fc, ++subOff) suba[subOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal() 621 … for (fc = 0; fc < fdof; ++fc, ++newOff) suba[subSize + newOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal()
|