Reference documentation for deal.II version GIT relicensing-487-ge9eb5ab491 2024-04-25 07:20:02+00:00
|
#include <deal.II/matrix_free/portable_tensor_product_kernels.h>
Public Types | |
using | TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space >::member_type |
Public Member Functions | |
EvaluatorTensorProduct (const TeamHandle &team_member, Kokkos::View< Number *, MemorySpace::Default::kokkos_space > shape_values, Kokkos::View< Number *, MemorySpace::Default::kokkos_space > shape_gradients, Kokkos::View< Number *, MemorySpace::Default::kokkos_space > co_shape_gradients) | |
template<typename ViewType > | |
void | evaluate_values (ViewType u) |
template<typename ViewTypeIn , typename ViewTypeOut > | |
void | evaluate_gradients (const ViewTypeIn u, ViewTypeOut grad_u) |
template<typename ViewType1 , typename ViewType2 > | |
void | evaluate_values_and_gradients (ViewType1 u, ViewType2 grad_u) |
template<typename ViewType > | |
void | integrate_values (ViewType u) |
template<bool add, typename ViewType1 , typename ViewType2 > | |
void | integrate_gradients (ViewType1 u, ViewType2 grad_u) |
template<typename ViewType1 , typename ViewType2 > | |
void | integrate_values_and_gradients (ViewType1 u, ViewType2 grad_u) |
template<int direction, bool dof_to_quad, bool add, bool in_place, typename ViewTypeIn , typename ViewTypeOut > | |
void | values (const ViewTypeIn in, ViewTypeOut out) const |
template<int direction, bool dof_to_quad, bool add, bool in_place, typename ViewTypeIn , typename ViewTypeOut > | |
void | gradients (const ViewTypeIn in, ViewTypeOut out) const |
template<int direction, bool dof_to_quad, bool add, bool in_place, typename ViewTypeIn , typename ViewTypeOut > | |
void | co_gradients (const ViewTypeIn in, ViewTypeOut out) const |
Public Attributes | |
const TeamHandle & | team_member |
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | shape_values |
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | shape_gradients |
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | co_shape_gradients |
Internal evaluator for 1d-3d shape function using the tensor product form of the basis functions.
Definition at line 361 of file portable_tensor_product_kernels.h.
using Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space>::member_type |
Definition at line 368 of file portable_tensor_product_kernels.h.
Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::EvaluatorTensorProduct | ( | const TeamHandle & | team_member, |
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | shape_values, | ||
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | shape_gradients, | ||
Kokkos::View< Number *, MemorySpace::Default::kokkos_space > | co_shape_gradients | ||
) |
Definition at line 497 of file portable_tensor_product_kernels.h.
|
inline |
Evaluate the finite element function at the quadrature points.
Definition at line 583 of file portable_tensor_product_kernels.h.
|
inline |
Evaluate the gradients of the finite element function at the quadrature points.
Definition at line 645 of file portable_tensor_product_kernels.h.
|
inline |
Evaluate the values and the gradients of the finite element function at the quadrature points.
Definition at line 710 of file portable_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the finite element function.
Definition at line 614 of file portable_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the gradients of the finite element function.
Definition at line 763 of file portable_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the values and the gradients of the finite element function.
Definition at line 841 of file portable_tensor_product_kernels.h.
void Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::values | ( | const ViewTypeIn | in, |
ViewTypeOut | out | ||
) | const |
Evaluate/integrate the values of a finite element function at the quadrature points for a given direction
.
Definition at line 525 of file portable_tensor_product_kernels.h.
void Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::gradients | ( | const ViewTypeIn | in, |
ViewTypeOut | out | ||
) | const |
Evaluate/integrate the gradient of a finite element function at the quadrature points for a given direction
.
Definition at line 546 of file portable_tensor_product_kernels.h.
void Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::co_gradients | ( | const ViewTypeIn | in, |
ViewTypeOut | out | ||
) | const |
Evaluate the gradient of a finite element function at the quadrature points for a given direction
for collocation methods.
Definition at line 567 of file portable_tensor_product_kernels.h.
const TeamHandle& Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::team_member |
TeamPolicy handle.
Definition at line 469 of file portable_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::shape_values |
Values of the shape functions.
Definition at line 474 of file portable_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::shape_gradients |
Values of the shape function gradients.
Definition at line 480 of file portable_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> Portable::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::co_shape_gradients |
Values of the shape function gradients for collocation methods.
Definition at line 486 of file portable_tensor_product_kernels.h.