![]() |
deal.II version GIT relicensing-6960-g70e9c5b7be 2026-10-22 20:10:01+00:00
|
#include <deal.II/matrix_free/portable_matrix_free.h>
Structure which is passed to the kernel. It is used to pass all the necessary information from the CPU to the GPU.
Definition at line 1145 of file portable_matrix_free.h.
Public Member Functions | |
| unsigned int | local_q_point_id (const unsigned int cell, const unsigned int n_q_points, const unsigned int q_point) const |
| Point< dim, Number > | get_quadrature_point (const unsigned int cell, const unsigned int q_point) const |
| unsigned int | inv_jacobian_index (const unsigned int cell, const unsigned int q_point) const |
| Number | JxW_value (const unsigned int cell, const unsigned int q_point) const |
Public Attributes | |
| Kokkos::View< Point< dim, Number > **, MemorySpace::Default::kokkos_space >::host_mirror_type | q_points |
| Kokkos::View< types::global_dof_index **, MemorySpace::Default::kokkos_space >::host_mirror_type | local_to_global |
| Kokkos::View< Number *[dim][dim], MemorySpace::Default::kokkos_space >::host_mirror_type | inv_jacobian |
| Kokkos::View< Number *, MemorySpace::Default::kokkos_space >::host_mirror_type | JxW |
| Kokkos::View<::internal::MatrixFreeFunctions::GeometryType *, MemorySpace::Default::kokkos_space >::host_mirror_type | cell_type |
| Kokkos::View< unsignedint *, MemorySpace::Default::kokkos_space >::host_mirror_type | data_index_offsets |
| Kokkos::View< Number *, MemorySpace::Default::kokkos_space >::host_mirror_type | q_weights |
| unsigned int | n_cells |
| unsigned int | first_cell |
| Kokkos::View<::internal::MatrixFreeFunctions::ConstraintKinds *, MemorySpace::Default::kokkos_space >::host_mirror_type | constraint_mask |
| bool | use_coloring |
|
inline |
This function is the host version of local_q_point_id().
Definition at line 1234 of file portable_matrix_free.h.
|
inline |
This function is the host version of get_quadrature_point().
Definition at line 1247 of file portable_matrix_free.h.
|
inline |
This function is the host version of PrecomputedData::inv_jacobian_index().
Definition at line 1258 of file portable_matrix_free.h.
|
inline |
This function is the host version of PrecomputedData::JxW_value().
Definition at line 1272 of file portable_matrix_free.h.
| Kokkos::View<Point<dim,Number>**,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::q_points |
Kokkos::View of quadrature points on the host.
Definition at line 1152 of file portable_matrix_free.h.
| Kokkos::View<types::global_dof_index**,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::local_to_global |
Map the position in the local vector to the position in the global vector.
Definition at line 1160 of file portable_matrix_free.h.
| Kokkos::View<Number*[dim][dim],MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::inv_jacobian |
Kokkos::View of inverse Jacobians on the host in compressed (see PrecomputedData) form.
Definition at line 1168 of file portable_matrix_free.h.
| Kokkos::View<Number*,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::JxW |
Kokkos::View of Jacobian times the weights on the host in compressed (see PrecomputedData) form.
Definition at line 1176 of file portable_matrix_free.h.
| Kokkos::View<::internal::MatrixFreeFunctions::GeometryType*,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::cell_type |
Geometric classification (Cartesian, affine, or general) of each cell on the host.
Definition at line 1184 of file portable_matrix_free.h.
| Kokkos::View<unsignedint*,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::data_index_offsets |
Index of the first entry of each cell within the compressed inv_jacobian and JxW storage on the host.
Definition at line 1192 of file portable_matrix_free.h.
| Kokkos::View<Number*,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::q_weights |
Quadrature weights of the reference cell on the host.
Definition at line 1199 of file portable_matrix_free.h.
| unsigned int Portable::DataHost< dim, Number >::n_cells |
Number of cells.
Definition at line 1204 of file portable_matrix_free.h.
| unsigned int Portable::DataHost< dim, Number >::first_cell |
Global index of the first cell of the current color. Here, the term 'global' indicates an aggregated number across all colors in a parallel task setup, but still local with respect to the current MPI process in an MPI-parallel context.
Definition at line 1213 of file portable_matrix_free.h.
| Kokkos::View<::internal::MatrixFreeFunctions::ConstraintKinds*,MemorySpace::Default::kokkos_space>::host_mirror_type Portable::DataHost< dim, Number >::constraint_mask |
Mask deciding where constraints are set on a given cell.
Definition at line 1220 of file portable_matrix_free.h.
| bool Portable::DataHost< dim, Number >::use_coloring |
If true, use graph coloring has been used and we can simply add into the destingation vector. Otherwise, use atomic operations.
Definition at line 1226 of file portable_matrix_free.h.