Searched refs:point_swarm_type (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/petsc/ |
| H A D | bpsswarm.c | 69 PointSwarmType point_swarm_type = SWARM_GAUSS; in main() local 112 …nsEnum("-swarm", "Swarm points distribution", NULL, point_swarm_types, (PetscEnum)point_swarm_type, in main() 113 (PetscEnum *)&point_swarm_type, NULL)); in main() 127 …PetscCheck(!user_set_num_points_per_cell || point_swarm_type != SWARM_SINUSOIDAL, comm, PETSC_ERR_… in main() 133 if (point_swarm_type != SWARM_SINUSOIDAL) { in main() 213 …PetscCall(DMSwarmInitalizePointLocations(dm_swarm, point_swarm_type, num_points, num_points_per_ce… in main() 284 …um_cells_local > 0 ? num_points_local / num_cells_local : 0, point_swarm_types[point_swarm_type])); in main()
|
| H A D | dmswarm.c | 74 PointSwarmType point_swarm_type = SWARM_UNIFORM; in main() local 94 …nsEnum("-swarm", "Swarm points distribution", NULL, point_swarm_types, (PetscEnum)point_swarm_type, in main() 95 (PetscEnum *)&point_swarm_type, NULL)); in main() 107 …PetscCheck(!user_set_num_points_per_cell || point_swarm_type != SWARM_SINUSOIDAL, comm, PETSC_ERR_… in main() 113 if (point_swarm_type != SWARM_SINUSOIDAL) { in main() 190 …PetscCall(DMSwarmInitalizePointLocations(dm_swarm, point_swarm_type, num_points, num_points_per_ce… in main()
|
| /libCEED/examples/petsc/include/ |
| H A D | swarmutils.h | 40 PetscErrorCode DMSwarmInitalizePointLocations(DM dm_swarm, PointSwarmType point_swarm_type, PetscIn…
|
| /libCEED/examples/petsc/src/ |
| H A D | swarmutils.c | 256 PetscErrorCode DMSwarmInitalizePointLocations(DM dm_swarm, PointSwarmType point_swarm_type, PetscIn… in DMSwarmInitalizePointLocations() argument 258 switch (point_swarm_type) { in DMSwarmInitalizePointLocations() 266 if (point_swarm_type == SWARM_GAUSS) { in DMSwarmInitalizePointLocations()
|