Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 6 of 6) sorted by relevance

/libCEED/examples/petsc/
H A Ddmswarm.c368 for (PetscInt cell = cell_start; cell < cell_end; cell++) { in DMSwarmInterpolateFromCellToSwarm_Petsc() local
375 PetscCall(DMSwarmSortGetPointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_cell)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
382 PetscCall(DMPlexComputeCellGeometryFEM(dm_mesh, cell, NULL, v, J, invJ, &detJ)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
388 PetscCall(DMPlexVecGetClosure(dm_mesh, section_u_mesh_loc, U_loc, cell, NULL, &u_cell)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
397 PetscCall(DMPlexVecRestoreClosure(dm_mesh, section_u_mesh_loc, U_loc, cell, NULL, &u_cell)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
401 PetscCall(DMSwarmSortRestorePointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_cell)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
466 for (PetscInt cell = cell_start; cell < cell_end; cell++) { in DMSwarmCheckSwarmValues() local
470 PetscCall(DMSwarmSortGetPointsPerCell(dm_swarm, cell, &num_points_in_cell, &points)); in DMSwarmCheckSwarmValues()
483 cell, p, i, u_points[points[p] * num_comp + i], u_true[i])); in DMSwarmCheckSwarmValues()
489 PetscCall(DMSwarmSortRestorePointsPerCell(dm_swarm, cell, &num_points_in_cell, &points)); in DMSwarmCheckSwarmValues()
/libCEED/examples/deal.II/
H A Dbps-cpu.h179 for (unsigned cell = range.first; cell < range.second; ++cell) in do_cell_integral_range() local
181 phi.reinit(cell); in do_cell_integral_range()
H A Dbps-ceed.h153 for (const auto &cell : dof_handler.active_cell_iterators()) in reinit() local
154 if (cell->is_locally_owned()) in reinit()
170 for (const auto &cell : dof_handler.active_cell_iterators()) in reinit() local
171 if (cell->is_locally_owned()) in reinit()
173 cell->get_dof_indices(local_indices); in reinit()
480 for (const auto &cell : tria.active_cell_iterators()) in compute_metric_data() local
481 if (cell->is_locally_owned()) in compute_metric_data()
512 for (const auto &cell : geo_dof_handler.active_cell_iterators()) in compute_metric_data() local
513 if (cell->is_locally_owned()) in compute_metric_data()
515 fe_values.reinit(cell); in compute_metric_data()
[all …]
/libCEED/examples/petsc/src/
H A Dswarmutils.c378 for (PetscInt cell = cell_start, num_points_processed = 0; cell < cell_end; cell++) { in DMSwarmCreateReferenceCoordinates() local
379 PetscInt *points_in_cell, num_points_in_cell, local_cell = cell - cell_start; in DMSwarmCreateReferenceCoordinates()
382 PetscCall(DMSwarmSortGetPointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_in_cell)); in DMSwarmCreateReferenceCoordinates()
384 PetscCall(DMPlexComputeCellGeometryFEM(dm_mesh, cell, NULL, v, J, invJ, &detJ)); in DMSwarmCreateReferenceCoordinates()
394 … PetscCall(DMSwarmSortRestorePointsPerCell(dm_swarm, cell, &num_points_in_cell, &points_in_cell)); in DMSwarmCreateReferenceCoordinates()
/libCEED/examples/fluids/
H A DREADME.md284 The coordinates for such cases are stored as a new field with special cell-based indexing to enable…
H A Dindex.md169 Galerkin methods produce oscillations for transport-dominated problems (any time the cell Péclet nu…
232 The cell Péclet number is classically defined by $\mathrm{Pe}_h = \lVert \bm u \rVert h / (2 \kappa…