Debian Codegraph @

include/deal.II/matrix_free/evaluation_template_factory_hanging_nodes.templates.h

raw
1 // ------------------------------------------------------------------------
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 // Copyright (C) 2021 - 2025 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // Part of the source code is dual licensed under Apache-2.0 WITH
9 // LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10 // governing the source code and code contributions can be found in
11 // LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12 //
13 // ------------------------------------------------------------------------
14
15
16 #ifndef dealii_matrix_free_evaluation_template_factory_hanging_nodes_templates_h
17 #define dealii_matrix_free_evaluation_template_factory_hanging_nodes_templates_h
18
19
20 #include <deal.II/base/config.h>
21
22 #include <deal.II/matrix_free/evaluation_kernels_hanging_nodes.h>
23 #include <deal.II/matrix_free/evaluation_template_factory.h>
24 #include <deal.II/matrix_free/evaluation_template_factory_internal.h>
25 #include <deal.II/matrix_free/shape_info.h>
26
27 #include <array>
28
29
30 DEAL_II_NAMESPACE_OPEN
31
32 namespace internal
33 {
34 template <int dim, typename Number, typename VectorizedArrayType>
35 void
36 FEEvaluationHangingNodesFactory<dim, Number, VectorizedArrayType>::apply(
37 const unsigned int n_components,
38 const unsigned int fe_degree,
39 const MatrixFreeFunctions::ShapeInfo<Number> &shape_info,
40 const bool transpose,
41 const std::array<MatrixFreeFunctions::compressed_constraint_kind,
42 VectorizedArrayType::size()> &c_mask,
43 VectorizedArrayType *values)
44 {
45 instantiation_helper_degree_run<
46 1,
47 FEEvaluationImplHangingNodes<dim, VectorizedArrayType>>(
48 fe_degree, n_components, shape_info, transpose, c_mask, values);
49 }
50 } // end of namespace internal
51
52 DEAL_II_NAMESPACE_CLOSE
53
54 #endif