Lines Matching refs:cellChunkSize

4405   PetscInt        Nf, f, totDim, totDimAux, numChunks, cellChunkSize, chunk, fStart, fEnd;  in DMPlexComputeResidual_Patch_Internal()  local
4471 cellChunkSize = numCells / numChunks; in DMPlexComputeResidual_Patch_Internal()
4480 …PetscInt cS = cStart + chunk * cellChunkSize, cE = PetscMin(cS + cellChunkSize, cEnd), num… in DMPlexComputeResidual_Patch_Internal()
5195 …PetscInt Nf, f, totDim, totDimAux, numChunks, cellChunkSize, faceChunkSize, chunk, fStart, … in DMPlexComputeResidualByKey() local
5276 cellChunkSize = numCells / numChunks; in DMPlexComputeResidualByKey()
5283 …PetscInt cS = cStart + chunk * cellChunkSize, cE = PetscMin(cS + cellChunkSize, cEnd), num… in DMPlexComputeResidualByKey()
5578 …PetscInt Nf, f, totDim, totDimIn, totDimAux[3], totDimScale[3], numChunks, cellChunkSize, c… in DMPlexComputeResidualHybridByKey() local
5703 cellChunkSize = numCells; in DMPlexComputeResidualHybridByKey()
5704 numChunks = !numCells ? 0 : PetscCeilReal(((PetscReal)numCells) / cellChunkSize); in DMPlexComputeResidualHybridByKey()
5705 PetscCall(PetscCalloc2(2 * cellChunkSize, &faces, 2 * cellChunkSize, &neighbors)); in DMPlexComputeResidualHybridByKey()
5706 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, 2 * cellChunkSize, faces, PETSC_USE_POINTER, &chunkISF)… in DMPlexComputeResidualHybridByKey()
5707 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, 2 * cellChunkSize, neighbors, PETSC_USE_POINTER, &chunk… in DMPlexComputeResidualHybridByKey()
5713 PetscCall(DMGetWorkArray(dm, cellChunkSize * totDim, MPIU_SCALAR, &elemVecNeg)); in DMPlexComputeResidualHybridByKey()
5714 PetscCall(DMGetWorkArray(dm, cellChunkSize * totDim, MPIU_SCALAR, &elemVecPos)); in DMPlexComputeResidualHybridByKey()
5715 PetscCall(DMGetWorkArray(dm, cellChunkSize * totDim, MPIU_SCALAR, &elemVecCoh)); in DMPlexComputeResidualHybridByKey()
5717 …PetscInt cS = cStart + chunk * cellChunkSize, cE = PetscMin(cS + cellChunkSize, cEnd), numCells = … in DMPlexComputeResidualHybridByKey()
5719 PetscCall(PetscArrayzero(elemVecNeg, cellChunkSize * totDim)); in DMPlexComputeResidualHybridByKey()
5720 PetscCall(PetscArrayzero(elemVecPos, cellChunkSize * totDim)); in DMPlexComputeResidualHybridByKey()
5721 PetscCall(PetscArrayzero(elemVecCoh, cellChunkSize * totDim)); in DMPlexComputeResidualHybridByKey()
5734 PetscCall(ISGeneralSetIndices(chunkISF, 2 * cellChunkSize, faces, PETSC_USE_POINTER)); in DMPlexComputeResidualHybridByKey()
5735 PetscCall(ISGeneralSetIndices(chunkISN, 2 * cellChunkSize, neighbors, PETSC_USE_POINTER)); in DMPlexComputeResidualHybridByKey()
6659 …f, fieldI, fieldJ, totDim, totDimIn, totDimAux[3], totDimScale[3], numChunks, cellChunkSize, chunk; in DMPlexComputeJacobianHybridByKey() local
6774 cellChunkSize = numCells; in DMPlexComputeJacobianHybridByKey()
6775 numChunks = !numCells ? 0 : PetscCeilReal(((PetscReal)numCells) / cellChunkSize); in DMPlexComputeJacobianHybridByKey()
6776 PetscCall(PetscCalloc2(2 * cellChunkSize, &faces, 2 * cellChunkSize, &neighbors)); in DMPlexComputeJacobianHybridByKey()
6777 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, 2 * cellChunkSize, faces, PETSC_USE_POINTER, &chunkISF)… in DMPlexComputeJacobianHybridByKey()
6778 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, 2 * cellChunkSize, neighbors, PETSC_USE_POINTER, &chunk… in DMPlexComputeJacobianHybridByKey()
6784 …PetscCall(DMGetWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMat… in DMPlexComputeJacobianHybridByKey()
6785 …PetscCall(DMGetWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMat… in DMPlexComputeJacobianHybridByKey()
6786 …PetscCall(DMGetWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMat… in DMPlexComputeJacobianHybridByKey()
6787 …PetscCall(DMGetWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMa… in DMPlexComputeJacobianHybridByKey()
6788 …PetscCall(DMGetWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMa… in DMPlexComputeJacobianHybridByKey()
6789 …PetscCall(DMGetWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &elemMa… in DMPlexComputeJacobianHybridByKey()
6791 …PetscInt cS = cStart + chunk * cellChunkSize, cE = PetscMin(cS + cellChunkSize, cEnd), numCells = … in DMPlexComputeJacobianHybridByKey()
6794 PetscCall(PetscArrayzero(elemMatNeg, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6795 PetscCall(PetscArrayzero(elemMatPos, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6796 PetscCall(PetscArrayzero(elemMatCoh, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6799 PetscCall(PetscArrayzero(elemMatNegP, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6800 PetscCall(PetscArrayzero(elemMatPosP, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6801 PetscCall(PetscArrayzero(elemMatCohP, cellChunkSize * totDim * totDim)); in DMPlexComputeJacobianHybridByKey()
6815 PetscCall(ISGeneralSetIndices(chunkISF, 2 * cellChunkSize, faces, PETSC_USE_POINTER)); in DMPlexComputeJacobianHybridByKey()
6816 PetscCall(ISGeneralSetIndices(chunkISN, 2 * cellChunkSize, neighbors, PETSC_USE_POINTER)); in DMPlexComputeJacobianHybridByKey()
6949 …PetscCall(DMRestoreWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &ele… in DMPlexComputeJacobianHybridByKey()
6950 …PetscCall(DMRestoreWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &ele… in DMPlexComputeJacobianHybridByKey()
6951 …PetscCall(DMRestoreWorkArray(dm, hasBdJac ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &ele… in DMPlexComputeJacobianHybridByKey()
6952 …PetscCall(DMRestoreWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &el… in DMPlexComputeJacobianHybridByKey()
6953 …PetscCall(DMRestoreWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &el… in DMPlexComputeJacobianHybridByKey()
6954 …PetscCall(DMRestoreWorkArray(dm, hasBdPrec ? cellChunkSize * totDim * totDim : 0, MPIU_SCALAR, &el… in DMPlexComputeJacobianHybridByKey()