Searched refs:eOffset (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/dt/fe/impls/basic/ |
| H A D | febasic.c | 752 PetscInt eOffset = 0; /* Offset into elemMat[] for element e */ in PetscFEIntegrateJacobian_Basic() local 873 …J], testReal, testDerReal, &fegeom, g0, g1, g2, g3, ctotDim, offsetI, offsetJ, elemMat + eOffset)); in PetscFEIntegrateJacobian_Basic() 881 …nt_FMT ", %" PetscInt_FMT "]: %g\n", f, g, (double)PetscRealPart(elemMat[eOffset + i * ctotDim + j… in PetscFEIntegrateJacobian_Basic() 888 eOffset += rtotDim * ctotDim; in PetscFEIntegrateJacobian_Basic() 901 PetscInt eOffset = 0; /* Offset into elemMat[] for element e */ in PetscFEIntegrateBdJacobian_Basic() local 1033 …ldJ], testReal, testDerReal, &cgeom, g0, g1, g2, g3, totDim, offsetI, offsetJ, elemMat + eOffset)); in PetscFEIntegrateBdJacobian_Basic() 1045 …",%" PetscInt_FMT "]: %g\n", f, fc, g, gc, (double)PetscRealPart(elemMat[eOffset + i * totDim + j]… in PetscFEIntegrateBdJacobian_Basic() 1054 eOffset += PetscSqr(totDim); in PetscFEIntegrateBdJacobian_Basic() 1068 PetscInt eOffset = 0; /* Offset into elemMat[] for element e */ in PetscFEIntegrateHybridJacobian_Basic() local 1204 …basisDerReal, T[fieldJ], testReal, testDerReal, &fegeom, g0, g1, g2, g3, eOffset, totDim, offsetI,… in PetscFEIntegrateHybridJacobian_Basic() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexegads.c | 1691 int eid, eOffset; in DMPlexCreateGeom() local 1709 PetscCall(PetscHMapIGet(edgeMap, bodyEdgeGlobalIndexStart + eid - 1, &eOffset)); in DMPlexCreateGeom() 1723 coords[(numVertices + bodyEdgeIndexStart + eOffset - 1) * cdim + 0] = cntrPnt[0]; in DMPlexCreateGeom() 1724 coords[(numVertices + bodyEdgeIndexStart + eOffset - 1) * cdim + 1] = cntrPnt[1]; in DMPlexCreateGeom() 1725 coords[(numVertices + bodyEdgeIndexStart + eOffset - 1) * cdim + 2] = cntrPnt[2]; in DMPlexCreateGeom() 1816 int eid, eOffset; in DMPlexCreateGeom() local 1830 PetscCall(PetscHMapIGet(edgeMap, bodyEdgeGlobalIndexStart + eid - 1, &eOffset)); in DMPlexCreateGeom() 1832 midPntID = numVertices + bodyEdgeIndexStart + eOffset - 1; in DMPlexCreateGeom() 1988 int eid, eOffset; in DMPlexCreateGeom() local 2008 PetscCall(PetscHMapIGet(edgeMap, bodyEdgeGlobalIndexStart + eid - 1, &eOffset)); in DMPlexCreateGeom() [all …]
|
| H A D | plexfem.c | 4758 PetscInt eOffset = 0, Nc, fc, foff; in DMPlexComputeJacobian_Patch_Internal() local 4763 for (c = 0; c < chunkSize; ++c, eOffset += totDim * totDim) { in DMPlexComputeJacobian_Patch_Internal() 4766 if (hasJac) elemMat[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal() 4767 if (hasPrec) elemMatP[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal() 6321 const PetscInt eOffset = cind * totDim * totDim; in DMPlexComputeJacobianByKey() local 6329 if (hasJac) elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey() 6330 elemMatP[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey() 6332 elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey() 6544 const PetscInt eOffset = cind * totDim * ctotDim; in DMPlexComputeJacobianByKeyGeneral() local 6552 if (hasJac) elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral() [all …]
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 2800 …tscScalar g1[], const PetscScalar g2[], const PetscScalar g3[], PetscInt eOffset, PetscInt totDim,… in PetscFEUpdateElementMat_Hybrid_Internal() argument 2846 const PetscInt fOff = eOffset + i * totDim + j; in PetscFEUpdateElementMat_Hybrid_Internal()
|