Searched refs:cellsw (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex3.c | 69 DM dm, sw, cellsw; /* Mesh and particle managers */ in main() local 80 PetscCall(DMCreate(comm, &cellsw)); in main() 81 PetscCall(PetscObjectSetName((PetscObject)cellsw, "SubParticles")); in main() 82 PetscCall(DMSwarmGetCellSwarm(sw, 1, cellsw)); in main() 83 PetscCall(DMViewFromOptions(cellsw, NULL, "-subswarm_view")); in main() 84 PetscCall(DMSwarmRestoreCellSwarm(sw, 1, cellsw)); in main() 87 PetscCall(DMDestroy(&cellsw)); in main()
|