Lines Matching refs:totDim
479 PetscInt dim, Nf, Nfc, cStart, cEnd, totDim, maxC = 0, totNc = 0; in DMSwarmComputeMassMatrix_Private() local
489 PetscCall(PetscDSGetTotalDimension(prob, &totDim)); in DMSwarmComputeMassMatrix_Private()
577 PetscCall(PetscMalloc3(maxC * totNc * totDim, &elemMat, maxC * totNc, &rowIDXs, maxC * dim, &xi)); in DMSwarmComputeMassMatrix_Private()
611 PetscCall(PetscArrayzero(elemMat, numCIndices * Nc * totDim)); in DMSwarmComputeMassMatrix_Private()
702 PetscInt cdim, Nf, Nfc, cStart, cEnd, totDim, maxC = 0; in DMSwarmComputeMassMatrixSquare_Private() local
712 PetscCall(PetscDSGetTotalDimension(prob, &totDim)); in DMSwarmComputeMassMatrixSquare_Private()
797 …PetscCall(PetscMalloc4(maxC * totDim, &elemMat, maxC * maxC, &elemMatSq, maxC, &rowIDXs, maxC * cd… in DMSwarmComputeMassMatrixSquare_Private()
836 PetscCall(PetscArrayzero(elemMat, numCIndices * totDim)); in DMSwarmComputeMassMatrixSquare_Private()
953 PetscInt cdim, Nf, Nfc, cStart, cEnd, totDim, maxNpc = 0, totNc = 0; in DMSwarmComputeGradientMatrix_Private() local
964 PetscCall(PetscDSGetTotalDimension(ds, &totDim)); in DMSwarmComputeGradientMatrix_Private()
1009 …PetscCall(PetscMalloc3(maxNpc * cdim * totDim, &elemMat, maxNpc * cdim, &rowIDXs, maxNpc * cdim, &… in DMSwarmComputeGradientMatrix_Private()
1036 PetscCall(PetscArrayzero(elemMat, Npc * cdim * totDim)); in DMSwarmComputeGradientMatrix_Private()