![]() |
deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20: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 1147 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 | padding_length |
| unsigned int | row_start |
| 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 1237 of file portable_matrix_free.h.
|
inline |
This function is the host version of get_quadrature_point().
Definition at line 1250 of file portable_matrix_free.h.
|
inline |
This function is the host version of PrecomputedData::inv_jacobian_index().
Definition at line 1261 of file portable_matrix_free.h.
|
inline |
This function is the host version of PrecomputedData::JxW_value().
Definition at line 1275 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 1154 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 1162 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 1170 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 1178 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 1186 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 1194 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 1201 of file portable_matrix_free.h.
| unsigned int Portable::DataHost< dim, Number >::n_cells |
Number of cells.
Definition at line 1206 of file portable_matrix_free.h.
| unsigned int Portable::DataHost< dim, Number >::padding_length |
Length of the padding.
Definition at line 1211 of file portable_matrix_free.h.
| unsigned int Portable::DataHost< dim, Number >::row_start |
Row start (including padding).
Definition at line 1216 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 1223 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 1229 of file portable_matrix_free.h.