Lines Matching refs:foff
2203 PetscInt foff = 0; in DMPlexComputeClementInterpolant() local
2233 PetscCall(PetscFEInterpolate_Static((PetscFE)obj, &x[foff], &qgeom, q, interpolant)); in DMPlexComputeClementInterpolant()
2234 for (fc = 0; fc < fNc; ++fc) val[foff + fc] += interpolant[fc] * wt; in DMPlexComputeClementInterpolant()
2237 foff += Nb; in DMPlexComputeClementInterpolant()
2549 PetscInt foff; in DMPlexComputeIntegral_Internal() local
2553 PetscCall(PetscDSGetFieldOffset(prob, f, &foff)); in DMPlexComputeIntegral_Internal()
2560 …obj_func(dim, Nf, NfAux, uOff, uOff_x, &u[totDim * c + foff], NULL, u_x, aOff, NULL, PetscSafePoin… in DMPlexComputeIntegral_Internal()
3906 PetscInt fdofIn, foff, foffIn; in DMPlexGetHybridCellFields() local
3912 PetscCall(PetscDSGetFieldOffsetCohesive(ds, f, &foff)); in DMPlexGetHybridCellFields()
3914 for (PetscInt i = 0; i < fdofIn; ++i) ul[foffIn + i] = xf[foff + i]; in DMPlexGetHybridCellFields()
3916 for (PetscInt i = 0; i < fdofIn; ++i) ul_t[foffIn + i] = xf_t[foff + i]; in DMPlexGetHybridCellFields()
3940 PetscInt fdofIn, foffIn, foff; in DMPlexGetHybridCellFields() local
3946 PetscCall(PetscDSGetFieldOffset(dsC, f, &foff)); in DMPlexGetHybridCellFields()
3948 for (PetscInt i = 0; i < fdofIn; ++i) ul[foffIn + s * fdofIn + i] = xc[foff + i]; in DMPlexGetHybridCellFields()
3950 for (PetscInt i = 0; i < fdofIn; ++i) ul_t[foffIn + s * fdofIn + i] = xc_t[foff + i]; in DMPlexGetHybridCellFields()
4758 PetscInt eOffset = 0, Nc, fc, foff; in DMPlexComputeJacobian_Patch_Internal() local
4760 PetscCall(PetscDSGetFieldOffset(prob, fieldI, &foff)); in DMPlexComputeJacobian_Patch_Internal()
4765 const PetscInt i = foff + fc; in DMPlexComputeJacobian_Patch_Internal()
5373 PetscInt cdim, foff, pdim; in DMPlexComputeResidualByKey() local
5377 PetscCall(PetscDSGetFieldOffset(ds, f, &foff)); in DMPlexComputeResidualByKey()
5399 … PetscCall(DMPrintCellVector(face, "Residual: left state", pdim, &uL[iface * totDim + foff])); in DMPlexComputeResidualByKey()
5400 … PetscCall(DMPrintCellVector(face, "Residual: right state", pdim, &uR[iface * totDim + foff])); in DMPlexComputeResidualByKey()
5401 … PetscCall(DMPrintCellVector(face, "Residual: left flux", pdim, &fluxL[iface * totDim + foff])); in DMPlexComputeResidualByKey()
5402 … PetscCall(DMPrintCellVector(face, "Residual: right flux", pdim, &fluxR[iface * totDim + foff])); in DMPlexComputeResidualByKey()
5405 if (fL) fL[d] -= fluxL[iface * totDim + foff + d]; in DMPlexComputeResidualByKey()
5406 if (fR) fR[d] += fluxR[iface * totDim + foff + d]; in DMPlexComputeResidualByKey()