Lines Matching refs:npoints
157 …tscErrorCode private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular(DM dm, DM dmc, PetscInt npoints) in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular() argument
181 PetscCall(PetscMalloc1(dim * npoints * npoints, &xi)); in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular()
183 ds = 1.0 / (PetscReal)(npoints - 1); in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular()
184 ds2 = 1.0 / (PetscReal)npoints; in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular()
185 for (jj = 0; jj < npoints; jj++) { in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular()
186 for (ii = 0; ii < npoints - jj; ii++) { in private_DMSwarmInsertPointsUsingCellDM_PLEX2D_Regular()
281 PetscErrorCode private_DMSwarmSetPointCoordinatesCellwise_PLEX(DM dm, DM dmc, PetscInt npoints, Pet… in private_DMSwarmSetPointCoordinatesCellwise_PLEX() argument
313 for (PetscInt p = 0; p < npoints; p++) { in private_DMSwarmSetPointCoordinatesCellwise_PLEX()
321 for (PetscInt p = 0; p < npoints; p++) { in private_DMSwarmSetPointCoordinatesCellwise_PLEX()
334 PetscCall(DMSwarmSetLocalSizes(dm, npoints * nel, PETSC_DECIDE)); in private_DMSwarmSetPointCoordinatesCellwise_PLEX()
340 … PetscCall(DMPlexReferenceToCoordinates(dmc, e + ps, npoints, xi, &swarm_coor[npoints * dim * e])); in private_DMSwarmSetPointCoordinatesCellwise_PLEX()
341 for (PetscInt p = 0; p < npoints; p++) swarm_cellid[e * npoints + p] = e + ps; in private_DMSwarmSetPointCoordinatesCellwise_PLEX()