Lines Matching refs:elemMatD
4630 …r *work, *u = NULL, *u_t = NULL, *a = NULL, *elemMat = NULL, *elemMatP = NULL, *elemMatD = NULL; in DMPlexComputeJacobian_Patch_Internal() local
4700 elemMatD = hasDyn ? (sz = chunkSize * totDim * totDim, off += sz, work + off - sz) : NULL; in DMPlexComputeJacobian_Patch_Internal()
4753 …rob, prob, PETSCFE_JACOBIAN_DYN, key, Ncell, cgeomFEM, u, u_t, probAux, a, t, X_tShift, elemMatD)); in DMPlexComputeJacobian_Patch_Internal()
4774 for (c = 0; c < chunkSize * totDim * totDim; ++c) elemMat[c] += X_tShift * elemMatD[c]; in DMPlexComputeJacobian_Patch_Internal()
6182 PetscScalar *elemMat, *elemMatP, *elemMatD, *u, *u_t, *a = NULL; in DMPlexComputeJacobianByKey() local
6219 … * totDim * totDim : 0), &elemMatP, (hasDyn ? (size_t)numCells * totDim * totDim : 0), &elemMatD)); in DMPlexComputeJacobianByKey()
6245 if (hasDyn) PetscCall(PetscArrayzero(elemMatD, numCells * totDim * totDim)); in DMPlexComputeJacobianByKey()
6294 …(prob, prob, PETSCFE_JACOBIAN_DYN, key, Ne, chunkGeom, u, u_t, probAux, a, t, X_tShift, elemMatD)); in DMPlexComputeJacobianByKey()
6295 …obAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &elemMatD[offset * totDim *… in DMPlexComputeJacobianByKey()
6305 for (c = 0; c < numCells * totDim * totDim; ++c) elemMat[c] += X_tShift * elemMatD[c]; in DMPlexComputeJacobianByKey()
6364 PetscCall(PetscFree5(u, u_t, elemMat, elemMatP, elemMatD)); in DMPlexComputeJacobianByKey()
6397 PetscScalar *elemMat, *elemMatP, *elemMatD, *u, *u_t, *a = NULL; in DMPlexComputeJacobianByKeyGeneral() local
6442 … totDim * ctotDim : 0), &elemMatP, (hasDyn ? (size_t)numCells * totDim * ctotDim : 0), &elemMatD)); in DMPlexComputeJacobianByKeyGeneral()
6468 if (hasDyn) PetscCall(PetscArrayzero(elemMatD, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral()
6517 …bian(rds, cds, PETSCFE_JACOBIAN_DYN, key, Ne, chunkGeom, u, u_t, dsAux, a, t, X_tShift, elemMatD)); in DMPlexComputeJacobianByKeyGeneral()
6518 …dsAux, PetscSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &elemMatD[offset * totDim *… in DMPlexComputeJacobianByKeyGeneral()
6528 for (PetscInt c = 0; c < numCells * totDim * ctotDim; ++c) elemMat[c] += X_tShift * elemMatD[c]; in DMPlexComputeJacobianByKeyGeneral()
6587 PetscCall(PetscFree5(u, u_t, elemMat, elemMatP, elemMatD)); in DMPlexComputeJacobianByKeyGeneral()
7013 PetscScalar *elemMat, *elemMatD, *u, *u_t, *a = NULL, *y, *z; in DMPlexComputeJacobianActionByKey() local
7041 …* totDim, &elemMat, (hasDyn ? (size_t)numCells * totDim * totDim : 0), &elemMatD, numCells * totDi… in DMPlexComputeJacobianActionByKey()
7070 if (hasDyn) PetscCall(PetscArrayzero(elemMatD, numCells * totDim * totDim)); in DMPlexComputeJacobianActionByKey()
7108 …(prob, prob, PETSCFE_JACOBIAN_DYN, key, Ne, chunkGeom, u, u_t, probAux, a, t, X_tShift, elemMatD)); in DMPlexComputeJacobianActionByKey()
7109 …t(u_t, offset * totDim), probAux, &a[offset * totDimAux], t, X_tShift, &elemMatD[offset * totDim *… in DMPlexComputeJacobianActionByKey()
7118 for (c = 0; c < numCells * totDim * totDim; ++c) elemMat[c] += X_tShift * elemMatD[c]; in DMPlexComputeJacobianActionByKey()
7136 PetscCall(PetscFree6(u, u_t, elemMat, elemMatD, y, z)); in DMPlexComputeJacobianActionByKey()