Lines Matching refs:foffset

6070     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()
6135 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oel + (k - 2) - i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6137 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6138 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oer + i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6141 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovlt * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6143 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6144 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovrt * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6145 foffset = offset; in DMPlexSetClosurePermutationTensor()
6150 for (i = 0; i < dof * Nc; ++i, ++offset) perm[offset] = i + foffset; in DMPlexSetClosurePermutationTensor()
6151 foffset = offset; in DMPlexSetClosurePermutationTensor()
6212 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovblf * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6214 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6215 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovbrf * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6218 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oebl + i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6221 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6223 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oebr + (k - 2) - i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6226 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovblb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6228 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6229 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovbrb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6234 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oelf + (k - 2) - j) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6236 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6237 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oerf + j) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6240 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (ofl + i * (k - 1) + j) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6242 …0; c < Nc; ++c, ++offset) perm[offset] = (oc + (j * (k - 1) + i) * (k - 1) + n) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6243 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (ofr + j * (k - 1) + i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6246 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oelb + j) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6248 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6249 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oerb + (k - 2) - j) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6254 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovtlf * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6256 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6257 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovtrf * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6260 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oetl + (k - 2) - i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6262 … for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oft + i * (k - 1) + n) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6263 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = (oetr + i) * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6266 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovtlb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6268 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = o * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6269 for (c = 0; c < Nc; ++c, ++offset) perm[offset] = ovtrb * Nc + c + foffset; in DMPlexSetClosurePermutationTensor()
6271 foffset = offset; in DMPlexSetClosurePermutationTensor()
6276 for (i = 0; i < dof * Nc; ++i, ++offset) perm[offset] = i + foffset; in DMPlexSetClosurePermutationTensor()
6277 foffset = offset; in DMPlexSetClosurePermutationTensor()
7029 PetscInt fdof, foff, fcdof, foffset = *offset; in updatePointFields_private() local
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()
7061 fuse(&a[b], values[clperm[foffset + perm[b]]] * (flip ? flip[perm[b]] : 1.)); in updatePointFields_private()
7069 fuse(&a[b], values[clperm[foffset + b]] * (flip ? flip[b] : 1.)); in updatePointFields_private()
7079 fuse(&a[b], values[foffset + perm[b]] * (flip ? flip[perm[b]] : 1.)); in updatePointFields_private()
7087 fuse(&a[b], values[foffset + b] * (flip ? flip[b] : 1.)); in updatePointFields_private()
7099 PetscInt fdof, foff, fcdof, foffset = *offset; in updatePointFieldsBC_private() local
7126 … if (ncSet && fcSet) fuse(&a[b], values[clperm[foffset + perm[b]]] * (flip ? flip[perm[b]] : 1.)); in updatePointFieldsBC_private()
7131 fuse(&a[b], values[clperm[foffset + perm[b]]] * (flip ? flip[perm[b]] : 1.)); in updatePointFieldsBC_private()
7148 if (ncSet && fcSet) fuse(&a[b], values[clperm[foffset + b]] * (flip ? flip[b] : 1.)); in updatePointFieldsBC_private()
7153 fuse(&a[b], values[clperm[foffset + b]] * (flip ? flip[b] : 1.)); in updatePointFieldsBC_private()
7172 … if (ncSet && fcSet) fuse(&a[b], values[foffset + perm[b]] * (flip ? flip[perm[b]] : 1.)); in updatePointFieldsBC_private()
7177 fuse(&a[b], values[foffset + perm[b]] * (flip ? flip[perm[b]] : 1.)); in updatePointFieldsBC_private()
7194 if (ncSet && fcSet) fuse(&a[b], values[foffset + b] * (flip ? flip[b] : 1.)); in updatePointFieldsBC_private()
7199 fuse(&a[b], values[foffset + b] * (flip ? flip[b] : 1.)); in updatePointFieldsBC_private()
8221 PetscInt foffset = offsets[f]; in DMPlexGetClosureIndices_Internal() local
8241 for (k = 0; k < nRows; ++k) valCopy[Ni * k + (foffset + i)] *= fval; in DMPlexGetClosureIndices_Internal()
8244 for (k = 0; k < nCols; ++k) valCopy[nCols * (foffset + i) + k] *= fval; in DMPlexGetClosureIndices_Internal()
8248 foffset += fdof; in DMPlexGetClosureIndices_Internal()