![]() |
Reference documentation for deal.II version GIT 5983d193e2 2023-05-27 16:50:02+00:00
|
#include <deal.II/matrix_free/cuda_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<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 |
template<typename ViewType > | |
void | value_at_quad_pts (ViewType u) |
template<typename ViewType > | |
void | integrate_value (ViewType u) |
template<typename ViewTypeIn , typename ViewTypeOut > | |
void | gradient_at_quad_pts (const ViewTypeIn u, ViewTypeOut grad_u) |
template<typename ViewType1 , typename ViewType2 > | |
void | value_and_gradient_at_quad_pts (ViewType1 u, ViewType2 grad_u) |
template<bool add, typename ViewType1 , typename ViewType2 > | |
void | integrate_gradient (ViewType1 u, ViewType2 grad_u) |
template<typename ViewType1 , typename ViewType2 > | |
void | integrate_value_and_gradient (ViewType1 u, ViewType2 grad_u) |
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 151 of file cuda_tensor_product_kernels.h.
using CUDAWrappers::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 157 of file cuda_tensor_product_kernels.h.
CUDAWrappers::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 285 of file cuda_tensor_product_kernels.h.
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::values | ( | const ViewTypeIn | in, |
ViewTypeOut | out | ||
) | const |
Evaluate the values of a finite element function at the quadrature points.
Definition at line 313 of file cuda_tensor_product_kernels.h.
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::gradients | ( | const ViewTypeIn | in, |
ViewTypeOut | out | ||
) | const |
Evaluate the gradient of a finite element function at the quadrature points for a given direction
.
Definition at line 334 of file cuda_tensor_product_kernels.h.
void CUDAWrappers::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 355 of file cuda_tensor_product_kernels.h.
|
inline |
Evaluate the finite element function at the quadrature points.
Definition at line 371 of file cuda_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the finite element function.
Definition at line 416 of file cuda_tensor_product_kernels.h.
|
inline |
Evaluate the gradients of the finite element function at the quadrature points.
Definition at line 461 of file cuda_tensor_product_kernels.h.
|
inline |
Evaluate the values and the gradients of the finite element function at the quadrature points.
Definition at line 543 of file cuda_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the gradients of the finite element function.
Definition at line 608 of file cuda_tensor_product_kernels.h.
|
inline |
Helper function for integrate(). Integrate the values and the gradients of the finite element function.
Definition at line 693 of file cuda_tensor_product_kernels.h.
const TeamHandle& CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::team_member |
TeamPolicy handle.
Definition at line 257 of file cuda_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::shape_values |
Values of the shape functions.
Definition at line 262 of file cuda_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::shape_gradients |
Values of the shape function gradients.
Definition at line 268 of file cuda_tensor_product_kernels.h.
Kokkos::View<Number *, MemorySpace::Default::kokkos_space> CUDAWrappers::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 274 of file cuda_tensor_product_kernels.h.