Searched refs:maxFinePoints (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/ ! |
| H A D | stagmulti.c | 996 PetscInt maxFinePoints, maxOffRankFinePoints; in DMStagPopulateRestriction1d_Internal() local 1011 maxFinePoints = 2 * factorx - 1; in DMStagPopulateRestriction1d_Internal() 1012 maxOffRankFinePoints = maxFinePoints - factorx; in DMStagPopulateRestriction1d_Internal() 1013 PetscCall(MatSeqAIJSetPreallocation(A, maxFinePoints, NULL)); in DMStagPopulateRestriction1d_Internal() 1014 PetscCall(MatMPIAIJSetPreallocation(A, maxFinePoints, NULL, maxOffRankFinePoints, NULL)); in DMStagPopulateRestriction1d_Internal() 1015 PetscCall(PetscMalloc3(maxFinePoints, &colf, maxFinePoints, &weight, maxFinePoints, &ic)); in DMStagPopulateRestriction1d_Internal() 1068 PetscInt maxFinePoints, maxOffRankFinePoints; in DMStagPopulateRestriction2d_Internal() local 1086 maxFinePoints = (2 * factorx - 1) * (2 * factory - 1); in DMStagPopulateRestriction2d_Internal() 1087 maxOffRankFinePoints = maxFinePoints - factorx * factory; in DMStagPopulateRestriction2d_Internal() 1088 PetscCall(MatSeqAIJSetPreallocation(A, maxFinePoints, NULL)); in DMStagPopulateRestriction2d_Internal() [all …]
|