Reference documentation for deal.II version Git 662679e6de 2020-10-27 13:02:35 -0600
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Static Public Member Functions | List of all members
internal::FEEvaluationImplIntegrateSelector< dim, Number > Struct Template Reference

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

Static Public Member Functions

template<int fe_degree, int n_q_points_1d>
static bool run (const unsigned int n_components, const EvaluationFlags::EvaluationFlags integration_flag, const internal::MatrixFreeFunctions::ShapeInfo< Number > &shape_info, Number *values_dofs_actual, Number *values_quad, Number *gradients_quad, Number *scratch_data, const bool sum_into_values_array)
 

Detailed Description

template<int dim, typename Number>
struct internal::FEEvaluationImplIntegrateSelector< dim, Number >

This class chooses an appropriate evaluation strategy based on the template parameters and the shape_info variable which contains runtime parameters for the strategy underlying FEEvaluation::integrate(), i.e. this calls internal::FEEvaluationImpl::integrate(), internal::FEEvaluationImplCollocation::integrate() or internal::FEEvaluationImplTransformToCollocation::integrate() with appropriate template parameters. In case the template parameters fe_degree and n_q_points_1d contain valid information (i.e. fe_degree>-1 and n_q_points_1d>0), we simply pass these values to the respective template specializations. Otherwise, we perform a runtime matching of the runtime parameters to find the correct specialization. This matching currently supports \(0\leq fe\_degree \leq 9\) and \(degree+1\leq n\_q\_points\_1d\leq fe\_degree+2\).

Definition at line 1541 of file evaluation_kernels.h.

Member Function Documentation

◆ run()

template<int dim, typename Number>
template<int fe_degree, int n_q_points_1d>
static bool internal::FEEvaluationImplIntegrateSelector< dim, Number >::run ( const unsigned int  n_components,
const EvaluationFlags::EvaluationFlags  integration_flag,
const internal::MatrixFreeFunctions::ShapeInfo< Number > &  shape_info,
Number *  values_dofs_actual,
Number *  values_quad,
Number *  gradients_quad,
Number *  scratch_data,
const bool  sum_into_values_array 
)
inlinestatic

Definition at line 1545 of file evaluation_kernels.h.


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