![]() |
deal.II version GIT relicensing-7182-g951947b1c4 2026-11-26 10:30:01+00:00
|
#include <deal.II/matrix_free/portable_evaluation_kernels.h>
Same as Portable::MatrixFree::Data, but with the above SharedData struct and with a range of cells handled by the team instead of a single cell index.
Definition at line 827 of file portable_evaluation_kernels.h.
Public Types | |
| using | TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space >::member_type |
Public Member Functions | |
| int | batch_size () const |
Public Attributes | |
| TeamHandle | team_member |
| const unsigned int | n_q_points |
| const unsigned int | n_dof_handler |
| const Kokkos::pair< int, int > | cell_range |
| const Kokkos::Array< typename MatrixFree< dim, Number >::PrecomputedData, n_max_dof_handlers > & | precomputed_data |
| Kokkos::Array< SharedData< dim, Number >, n_max_dof_handlers > & | shared_data |
| using Portable::internal::batched::BatchedData< dim, Number >::TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space>::member_type |
Definition at line 829 of file portable_evaluation_kernels.h.
|
inline |
Number of cells in cell_range.
Definition at line 873 of file portable_evaluation_kernels.h.
| TeamHandle Portable::internal::batched::BatchedData< dim, Number >::team_member |
TeamPolicy handle.
Definition at line 835 of file portable_evaluation_kernels.h.
| const unsigned int Portable::internal::batched::BatchedData< dim, Number >::n_q_points |
Number of quadrature points per cell.
Definition at line 840 of file portable_evaluation_kernels.h.
| const unsigned int Portable::internal::batched::BatchedData< dim, Number >::n_dof_handler |
Number of DoFHandler objects, i.e., of used entries in precomputed_data and shared_data.
Definition at line 846 of file portable_evaluation_kernels.h.
| const Kokkos::pair<int, int> Portable::internal::batched::BatchedData< dim, Number >::cell_range |
Half-open range [first, second) of the cells handled by this team, in the same index space as Portable::MatrixFree::Data::cell_index. The last batch of a cell loop may be shorter than the others.
Definition at line 853 of file portable_evaluation_kernels.h.
| const Kokkos::Array<typename MatrixFree<dim, Number>::PrecomputedData, n_max_dof_handlers>& Portable::internal::batched::BatchedData< dim, Number >::precomputed_data |
Precomputed data of each DoFHandler (shape data, mapping data, dof indices) in global memory.
Definition at line 860 of file portable_evaluation_kernels.h.
| Kokkos::Array<SharedData<dim, Number>, n_max_dof_handlers>& Portable::internal::batched::BatchedData< dim, Number >::shared_data |
Shared memory of each DoFHandler: staged shape data, the dof or quadrature point values and gradients of all cells in cell_range stored cell after cell, and scratch space.
Definition at line 867 of file portable_evaluation_kernels.h.