Home
last modified time | relevance | path

Searched refs:numCIndices (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Dswarm.c543 PetscInt numFIndices, numCIndices; in DMSwarmComputeMassMatrix_Private() local
546 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
547 maxC = PetscMax(maxC, numCIndices); in DMSwarmComputeMassMatrix_Private()
555 for (PetscInt j = 0; j < numCIndices; ++j) { in DMSwarmComputeMassMatrix_Private()
568 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
592 PetscInt numFIndices, numCIndices; in DMSwarmComputeMassMatrix_Private() local
597 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
598 for (PetscInt j = 0; j < numCIndices; ++j) { in DMSwarmComputeMassMatrix_Private()
608 …if (id == PETSCFE_CLASSID) PetscCall(PetscFECreateTabulation((PetscFE)obj, 1, numCIndices, xi, 0, … in DMSwarmComputeMassMatrix_Private()
609 else PetscCall(PetscFVCreateTabulation((PetscFV)obj, 1, numCIndices, xi, 0, &Tcoarse)); in DMSwarmComputeMassMatrix_Private()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexfem.c3235 PetscInt numFIndices, numCIndices; in DMPlexComputeInterpolatorGeneral() local
3273 …dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_FALSE, &numCIndices, &cindices, NUL… in DMPlexComputeInterpolatorGeneral()
3296 … if (mesh->printFEM > 1) PetscCall(DMPrintCellMatrix(cell, name, 1, numCIndices, elemMat)); in DMPlexComputeInterpolatorGeneral()
3299 …cCheck(numCIndices == totDim, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of element matrix columns %… in DMPlexComputeInterpolatorGeneral()
3301 …dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_FALSE, &numCIndices, &cindices, NUL… in DMPlexComputeInterpolatorGeneral()
3402 PetscInt numFIndices, numCIndices; in DMPlexComputeMassMatrixGeneral() local
3433 …dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_FALSE, &numCIndices, &cindices, NUL… in DMPlexComputeMassMatrixGeneral()
3434 for (c = 0; c < numCIndices; ++c) { in DMPlexComputeMassMatrixGeneral()
3443 …dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_FALSE, &numCIndices, &cindices, NUL… in DMPlexComputeMassMatrixGeneral()
3483 PetscInt numFIndices, numCIndices; in DMPlexComputeMassMatrixGeneral() local
[all …]
H A Dplex.c7576 …scInt point, PetscInt numRIndices, const PetscInt rindices[], PetscInt numCIndices, const PetscInt… in DMPlexPrintMatSetValues() argument
7585 …for (i = 0; i < numCIndices; i++) PetscCall(PetscViewerASCIIPrintf(viewer, "[%d]mat col indices[%"… in DMPlexPrintMatSetValues()
7586 numCIndices = numCIndices ? numCIndices : numRIndices; in DMPlexPrintMatSetValues()
7590 for (j = 0; j < numCIndices; j++) { in DMPlexPrintMatSetValues()
7592 …%g,%g)", (double)PetscRealPart(values[i * numCIndices + j]), (double)PetscImaginaryPart(values[i *… in DMPlexPrintMatSetValues()
7594 PetscCall(PetscViewerASCIIPrintf(viewer, " %g", (double)values[i * numCIndices + j])); in DMPlexPrintMatSetValues()
8564 …mFields, numSubcells, maxFPoints, numFPoints, numCPoints, numFIndices, numCIndices, dof, off, glob… in DMPlexMatSetClosureRefined() local
8597 for (p = 0, numCIndices = 0; p < numCPoints * 2; p += 2) { in DMPlexMatSetClosureRefined()
8606 numCIndices += dof; in DMPlexMatSetClosureRefined()
8657numCIndices, PetscObjectComm((PetscObject)dmc), PETSC_ERR_PLIB, "Invalid size for closure %" Petsc… in DMPlexMatSetClosureRefined()
[all …]