Home
last modified time | relevance | path

Searched refs:foffset (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplex.c6070 PetscInt k, f, Nc, c, i, j, size = 0, offset = 0, foffset = 0; in DMPlexSetClosurePermutationTensor() local
6093 for (c = 0; c < Nc; c++, offset++) perm[offset] = (k - 1) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6095 for (c = 0; c < Nc; c++, offset++) perm[offset] = i * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6096 for (c = 0; c < Nc; c++, offset++) perm[offset] = k * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6097 foffset = offset; in DMPlexSetClosurePermutationTensor()
6102 for (i = 0; i < dof * Nc; ++i, ++offset) perm[offset] = i + foffset; in DMPlexSetClosurePermutationTensor()
6103 foffset = offset; in DMPlexSetClosurePermutationTensor()
6129 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovlb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6131 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6132 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovrb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
[all …]
H A Dplexfluent.c845 PetscInt *cones, csize, foffset = 0; in DMPlexCreateFluent() local
866 for (PetscInt v = 0; v < faceSizes[f]; ++v) fcone[v] = faces[foffset + v] + numCells - 1; in DMPlexCreateFluent()
867 foffset += faceSizes[f]; in DMPlexCreateFluent()
891 PetscInt foffset = 0; in DMPlexCreateFluent() local
910 … for (PetscInt fi = 0; fi < faceSizes[f]; fi++) fverts[fi] = faces[foffset + fi] + numCells - 1; in DMPlexCreateFluent()
917 foffset += faceSizes[f]; in DMPlexCreateFluent()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1219 PetscInt fndof, foffset, lndof, loffset, idx, nface_ranks = 0; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local
1222 PetscCall(PetscSectionGetOffset(connSection, f, &foffset)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1223 PetscCall(PetscFindInt(conn[foffset + 0], nuniq_face_verts, uniq_face_verts, &idx)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1234 PetscCall(PetscFindInt(conn[foffset + v], nuniq_face_verts, uniq_face_verts, &idx)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()