Home
last modified time | relevance | path

Searched refs:num_points_in_cell (Results 1 – 2 of 2) sorted by relevance

/libCEED/examples/petsc/
H A Ddmswarm.c373 PetscInt num_points_in_cell; in DMSwarmInterpolateFromCellToSwarm_Petsc() local
375 PetscCall(DMSwarmSortGetPointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_cell)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
376 … PetscCall(DMGetWorkArray(dm_mesh, num_points_in_cell * dim, MPIU_REAL, &coords_points_cell_true)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
377 … PetscCall(DMGetWorkArray(dm_mesh, num_points_in_cell * dim, MPIU_REAL, &coords_points_cell_ref)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
379 for (PetscInt p = 0; p < num_points_in_cell; p++) { in DMSwarmInterpolateFromCellToSwarm_Petsc()
383 for (PetscInt p = 0; p < num_points_in_cell; p++) { in DMSwarmInterpolateFromCellToSwarm_Petsc()
387 …PetscCall(PetscFECreateTabulation(fe, 1, num_points_in_cell, coords_points_cell_ref, 1, &tabulatio… in DMSwarmInterpolateFromCellToSwarm_Petsc()
391 for (PetscInt p = 0; p < num_points_in_cell; p++) { in DMSwarmInterpolateFromCellToSwarm_Petsc()
398 …PetscCall(DMRestoreWorkArray(dm_mesh, num_points_in_cell * dim, MPIU_REAL, &coords_points_cell_tru… in DMSwarmInterpolateFromCellToSwarm_Petsc()
399 …PetscCall(DMRestoreWorkArray(dm_mesh, num_points_in_cell * dim, MPIU_REAL, &coords_points_cell_ref… in DMSwarmInterpolateFromCellToSwarm_Petsc()
[all …]
/libCEED/examples/petsc/src/
H A Dswarmutils.c379 PetscInt *points_in_cell, num_points_in_cell, local_cell = cell - cell_start; in DMSwarmCreateReferenceCoordinates() local
382 PetscCall(DMSwarmSortGetPointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_in_cell)); in DMSwarmCreateReferenceCoordinates()
386 for (PetscInt p = 0; p < num_points_in_cell; p++) { in DMSwarmCreateReferenceCoordinates()
394 … PetscCall(DMSwarmSortRestorePointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_in_cell)); in DMSwarmCreateReferenceCoordinates()