deal.II version GIT relicensing-2165-gc91f007519 2024-11-20 01:40:00+00:00
|
#include <deal.II/matrix_free/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 |
Public Attributes | |
Kokkos::View< Point< dim, Number > **, MemorySpace::Default::kokkos_space >::HostMirror | q_points |
Kokkos::View< types::global_dof_index **, MemorySpace::Default::kokkos_space >::HostMirror | local_to_global |
Kokkos::View< Number **[dim][dim], MemorySpace::Default::kokkos_space >::HostMirror | inv_jacobian |
Kokkos::View< Number **, MemorySpace::Default::kokkos_space >::HostMirror | JxW |
unsigned int | n_cells |
unsigned int | padding_length |
unsigned int | row_start |
Kokkos::View<::internal::MatrixFreeFunctions::ConstraintKinds *, MemorySpace::Default::kokkos_space >::HostMirror | constraint_mask |
bool | use_coloring |
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 665 of file portable_matrix_free.h.
|
inline |
This function is the host version of local_q_point_id().
Definition at line 729 of file portable_matrix_free.h.
|
inline |
This function is the host version of get_quadrature_point().
Definition at line 742 of file portable_matrix_free.h.
Kokkos::View<Point<dim,Number>**,MemorySpace::Default::kokkos_space>::HostMirror Portable::DataHost< dim, Number >::q_points |
Kokkos::View of quadrature points on the host.
Definition at line 672 of file portable_matrix_free.h.
Kokkos::View<types::global_dof_index**,MemorySpace::Default::kokkos_space>::HostMirror Portable::DataHost< dim, Number >::local_to_global |
Map the position in the local vector to the position in the global vector.
Definition at line 680 of file portable_matrix_free.h.
Kokkos::View<Number**[dim][dim],MemorySpace::Default::kokkos_space>::HostMirror Portable::DataHost< dim, Number >::inv_jacobian |
Kokkos::View of inverse Jacobians on the host.
Definition at line 687 of file portable_matrix_free.h.
Kokkos::View<Number**,MemorySpace::Default::kokkos_space>::HostMirror Portable::DataHost< dim, Number >::JxW |
Kokkos::View of Jacobian times the weights on the host.
Definition at line 693 of file portable_matrix_free.h.
unsigned int Portable::DataHost< dim, Number >::n_cells |
Number of cells.
Definition at line 698 of file portable_matrix_free.h.
unsigned int Portable::DataHost< dim, Number >::padding_length |
Length of the padding.
Definition at line 703 of file portable_matrix_free.h.
unsigned int Portable::DataHost< dim, Number >::row_start |
Row start (including padding).
Definition at line 708 of file portable_matrix_free.h.
Kokkos::View<::internal::MatrixFreeFunctions::ConstraintKinds*,MemorySpace::Default::kokkos_space>::HostMirror Portable::DataHost< dim, Number >::constraint_mask |
Mask deciding where constraints are set on a given cell.
Definition at line 715 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 721 of file portable_matrix_free.h.