Loading [MathJax]/extensions/TeX/newcommand.js
 deal.II version GIT relicensing-3075-gc235bd4825 2025-04-15 08:10:00+00:00
\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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
local_integrator.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2012 - 2024 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_mesh_worker_local_integrator_h
17#define dealii_mesh_worker_local_integrator_h
18
19#include <deal.II/base/config.h>
20
23
24#include <functional>
25#include <string>
26#include <vector>
27
29
30namespace MeshWorker
31{
32 // Forward declarations
33#ifndef DOXYGEN
34 template <int dim, int spacedim, typename number>
35 class DoFInfo;
36 template <int dim, int spacedim>
37 class IntegrationInfo;
38#endif
39
59 template <int dim, int spacedim = dim, typename number = double>
61 {
62 public:
68
72 LocalIntegrator(bool use_cell, bool use_boundary, bool use_face);
73
77 virtual ~LocalIntegrator() override = default;
78
83 virtual void
90 virtual void
91 boundary(DoFInfo<dim, spacedim, number> &dinfo,
97 virtual void
101 IntegrationInfo<dim, spacedim> &info2) const;
102
108
114
120
133 std::vector<std::string> input_vector_names;
134
147 std::vector<std::string> output_names;
148
157 DeclException0(ExcPureFunction);
158 };
159} // namespace MeshWorker
160
161
162
164
165#endif
virtual ~LocalIntegrator() override=default
std::vector< std::string > output_names
std::vector< std::string > input_vector_names
#define DEAL_II_DEPRECATED
Definition config.h:280
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:35
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:36
#define DeclException0(Exception0)