Searched refs:ppcell (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/tutorials/ |
| H A D | ex21.c | 13 PetscErrorCode pic_advect(PetscInt ppcell, PetscInt meshtype) in pic_advect() argument 108 PetscCall(DMSwarmInsertPointsUsingCellDM(swarm, DMSWARMPIC_LAYOUT_SUBDIVISION, ppcell)); in pic_advect() 242 PetscInt ppcell = 1; in main() local 247 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ppcell", &ppcell, NULL)); in main() 251 PetscCall(pic_advect(ppcell, meshtype)); in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex70.c | 875 PetscInt ppcell = 1; in SolveTimeDepStokes() local 950 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ppcell", &ppcell, NULL)); in SolveTimeDepStokes() 951 PetscCall(DMSwarmSetLocalSizes(dms_mpoint, nel_local * ppcell, 100)); in SolveTimeDepStokes() 966 PetscCall(DMSwarmInsertPointsUsingCellDM(dms_mpoint, DMSWARMPIC_LAYOUT_SUBDIVISION, ppcell)); in SolveTimeDepStokes()
|