Reference documentation for deal.II version Git 0491297983 2019-09-23 09:31:59 +0200
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | List of all members
CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number > Struct Template Reference

#include <deal.II/matrix_free/cuda_tensor_product_kernels.h>

Public Member Functions

template<int direction, bool dof_to_quad, bool add, bool in_place>
void values (const Number *in, Number *out) const
 
template<int direction, bool dof_to_quad, bool add, bool in_place>
void gradients (const Number *in, Number *out) const
 
template<int direction, bool dof_to_quad, bool add, bool in_place>
void apply (Number shape_data[], const Number *in, Number *out) const
 
void value_at_quad_pts (Number *u)
 
void integrate_value (Number *u)
 
void gradient_at_quad_pts (const Number *const u, Number *grad_u[dim])
 
template<bool add>
void integrate_gradient (Number *u, Number *grad_u[dim])
 

Detailed Description

template<int dim, int fe_degree, int n_q_points_1d, typename Number>
struct CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >

Internal evaluator for 1d-3d shape function using the tensor product form of the basis functions.

Definition at line 73 of file cuda_tensor_product_kernels.h.

Member Function Documentation

◆ values()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
template<int direction, bool dof_to_quad, bool add, bool in_place>
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::values ( const Number *  in,
Number *  out 
) const

Evaluate the values of a finite element function at the quadrature points.

Definition at line 158 of file cuda_tensor_product_kernels.h.

◆ gradients()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
template<int direction, bool dof_to_quad, bool add, bool in_place>
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::gradients ( const Number *  in,
Number *  out 
) const

Evaluate the gradient of a finite element function at the quadrature points for a given direction.

Definition at line 174 of file cuda_tensor_product_kernels.h.

◆ apply()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
template<int direction, bool dof_to_quad, bool add, bool in_place>
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::apply ( Number  shape_data[],
const Number *  in,
Number *  out 
) const

Helper function for values() and gradients().

Definition at line 191 of file cuda_tensor_product_kernels.h.

◆ value_at_quad_pts()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::value_at_quad_pts ( Number *  u)
inline

Evaluate the finite element function at the quadrature points.

Definition at line 240 of file cuda_tensor_product_kernels.h.

◆ integrate_value()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::integrate_value ( Number *  u)
inline

Helper function for integrate(). Integrate the finite element function.

Definition at line 284 of file cuda_tensor_product_kernels.h.

◆ gradient_at_quad_pts()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::gradient_at_quad_pts ( const Number *const  u,
Number *  grad_u[dim] 
)
inline

Evaluate the gradients of the finite element function at the quadrature points.

Definition at line 328 of file cuda_tensor_product_kernels.h.

◆ integrate_gradient()

template<int dim, int fe_degree, int n_q_points_1d, typename Number >
template<bool add>
void CUDAWrappers::internal::EvaluatorTensorProduct< evaluate_general, dim, fe_degree, n_q_points_1d, Number >::integrate_gradient ( Number *  u,
Number *  grad_u[dim] 
)
inline

Helper function for integrate(). Integrate the gradients of the finite element function.

Definition at line 388 of file cuda_tensor_product_kernels.h.


The documentation for this struct was generated from the following file: