| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 543 PetscInt numFIndices, numCIndices; in DMSwarmComputeMassMatrix_Private() local 545 …exGetClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMSwarmComputeMassMatrix_Private() 551 for (PetscInt i = 0; i < numFIndices; ++i) { in DMSwarmComputeMassMatrix_Private() 570 …storeClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMSwarmComputeMassMatrix_Private() 592 PetscInt numFIndices, numCIndices; in DMSwarmComputeMassMatrix_Private() local 596 …exGetClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMSwarmComputeMassMatrix_Private() 612 for (PetscInt i = 0; i < numFIndices / Nc; ++i) { in DMSwarmComputeMassMatrix_Private() 617 …elemMat[(j * totNc + c) * numFIndices + i * Nc + c] += Tcoarse->T[0][(j * numFIndices + i * Nc + c… in DMSwarmComputeMassMatrix_Private() 624 if (0) PetscCall(DMPrintCellMatrix(cell, name, numCIndices * Nc, numFIndices, elemMat)); in DMSwarmComputeMassMatrix_Private() 625 …PetscCall(MatSetValues(mass, numCIndices * Nc, rowIDXs, numFIndices, findices, elemMat, ADD_VALUES… in DMSwarmComputeMassMatrix_Private() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 3235 PetscInt numFIndices, numCIndices; in DMPlexComputeInterpolatorGeneral() local 3237 …exGetClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMPlexComputeInterpolatorGeneral() 3239 …numFIndices == totDim, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of fine indices %" PetscInt_F… in DMPlexComputeInterpolatorGeneral() 3307 …storeClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMPlexComputeInterpolatorGeneral() 3402 PetscInt numFIndices, numCIndices; in DMPlexComputeMassMatrixGeneral() local 3404 …exGetClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMPlexComputeMassMatrixGeneral() 3428 for (i = 0; i < numFIndices; ++i) { in DMPlexComputeMassMatrixGeneral() 3450 …storeClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMPlexComputeMassMatrixGeneral() 3483 PetscInt numFIndices, numCIndices; in DMPlexComputeMassMatrixGeneral() local 3485 …exGetClosureIndices(dmf, fsection, globalFSection, cell, PETSC_FALSE, &numFIndices, &findices, NUL… in DMPlexComputeMassMatrixGeneral() [all …]
|
| H A D | plex.c | 8564 …PetscInt numFields, numSubcells, maxFPoints, numFPoints, numCPoints, numFIndices, numCIndic… in DMPlexMatSetClosureRefined() local 8643 for (p = 0, numFIndices = 0; p < numFPoints * 2; p += 2) { in DMPlexMatSetClosureRefined() 8652 numFIndices += dof; in DMPlexMatSetClosureRefined() 8656 …numFIndices, PetscObjectComm((PetscObject)dmf), PETSC_ERR_PLIB, "Invalid size for closure %" Petsc… in DMPlexMatSetClosureRefined() 8658 PetscCall(DMGetWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined() 8701 … PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDOUT_SELF, A, point, numFIndices, findices, numC… in DMPlexMatSetClosureRefined() 8704 ierr = MatSetValues(A, numFIndices, findices, numCIndices, cindices, values, mode); in DMPlexMatSetClosureRefined() 8710 …PetscCall(DMPlexPrintMatSetValues(PETSC_VIEWER_STDERR_SELF, A, point, numFIndices, findices, numCI… in DMPlexMatSetClosureRefined() 8711 PetscCall(DMRestoreWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined() 8716 PetscCall(DMRestoreWorkArray(dmf, numFIndices, MPIU_INT, &findices)); in DMPlexMatSetClosureRefined() [all …]
|