Searched refs:ctotDim (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 6400 PetscInt totDim, ctotDim, totDimAux = 0, cStart, cEnd, numCells; in DMPlexComputeJacobianByKeyGeneral() local 6434 PetscCall(PetscDSGetTotalDimension(cds, &ctotDim)); in DMPlexComputeJacobianByKeyGeneral() 6442 … totDim * ctotDim : 0), &elemMat, (hasPrec ? (size_t)numCells * totDim * ctotDim : 0), &elemMatP, … in DMPlexComputeJacobianByKeyGeneral() 6466 if (hasJac) PetscCall(PetscArrayzero(elemMat, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral() 6467 if (hasPrec) PetscCall(PetscArrayzero(elemMatP, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral() 6468 if (hasDyn) PetscCall(PetscArrayzero(elemMatD, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral() 6510 …scSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &elemMat[offset * totDim * ctotDim])); in DMPlexComputeJacobianByKeyGeneral() 6514 …cSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &elemMatP[offset * totDim * ctotDim])); in DMPlexComputeJacobianByKeyGeneral() 6518 …cSafePointerPlusOffset(a, offset * totDimAux), t, X_tShift, &elemMatD[offset * totDim * ctotDim])); in DMPlexComputeJacobianByKeyGeneral() 6528 for (PetscInt c = 0; c < numCells * totDim * ctotDim; ++c) elemMat[c] += X_tShift * elemMatD[c]; in DMPlexComputeJacobianByKeyGeneral() [all …]
|
| /petsc/src/dm/dt/fe/impls/basic/ |
| H A D | febasic.c | 762 …PetscInt dim, numConstants, Nf, fieldI, fieldJ, NfAux = 0, rtotDim, ctotDim, totDimAux =… in PetscFEIntegrateJacobian_Basic() local 778 PetscCall(PetscDSGetTotalDimension(cds, &ctotDim)); in PetscFEIntegrateJacobian_Basic() 873 …asisDerReal, cT[fieldJ], testReal, testDerReal, &fegeom, g0, g1, g2, g3, ctotDim, offsetI, offsetJ… in PetscFEIntegrateJacobian_Basic() 881 …MT ", %" PetscInt_FMT "]: %g\n", f, g, (double)PetscRealPart(elemMat[eOffset + i * ctotDim + j]))); in PetscFEIntegrateJacobian_Basic() 888 eOffset += rtotDim * ctotDim; in PetscFEIntegrateJacobian_Basic()
|