Lines Matching refs:ctotDim

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()
6544 const PetscInt eOffset = cind * totDim * ctotDim; in DMPlexComputeJacobianByKeyGeneral()
6552 if (hasJac) elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6553 elemMatP[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6555 elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6570 …rmPointTensor_Internal(dmr, tdm, tv, cell, PETSC_TRUE, totDim, &elemMat[cind * totDim * ctotDim])); in DMPlexComputeJacobianByKeyGeneral()
6573 …EM > 1) PetscCall(DMPrintCellMatrix(cell, name, totDim, ctotDim, &elemMat[cind * totDim * ctotDim]… in DMPlexComputeJacobianByKeyGeneral()
6574 … dmc, csection, cglobalSection, clPerm, Jac, cell, &elemMat[cind * totDim * ctotDim], ADD_VALUES)); in DMPlexComputeJacobianByKeyGeneral()
6576 …M > 1) PetscCall(DMPrintCellMatrix(cell, name, totDim, ctotDim, &elemMatP[cind * totDim * ctotDim]… in DMPlexComputeJacobianByKeyGeneral()
6577 …mc, csection, cglobalSection, clPerm, JacP, cell, &elemMatP[cind * totDim * ctotDim], ADD_VALUES)); in DMPlexComputeJacobianByKeyGeneral()
6580 …EM > 1) PetscCall(DMPrintCellMatrix(cell, name, totDim, ctotDim, &elemMat[cind * totDim * ctotDim]… in DMPlexComputeJacobianByKeyGeneral()
6581 …dmc, csection, cglobalSection, clPerm, JacP, cell, &elemMat[cind * totDim * ctotDim], ADD_VALUES)); in DMPlexComputeJacobianByKeyGeneral()