deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40: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\}}\)
Loading...
Searching...
No Matches
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
22
23#include <functional>
24#include <string>
25#include <vector>
26
28
29namespace MeshWorker
30{
31 // Forward declarations
32#ifndef DOXYGEN
33 template <int dim, int spacedim, typename number>
34 class DoFInfo;
35 template <int dim, int spacedim>
36 class IntegrationInfo;
37#endif
38
58 template <int dim, int spacedim = dim, typename number = double>
60 {
61 public:
67
71 LocalIntegrator(bool use_cell, bool use_boundary, bool use_face);
72
76 virtual ~LocalIntegrator() override = default;
77
82 virtual void
89 virtual void
90 boundary(DoFInfo<dim, spacedim, number> &dinfo,
96 virtual void
100 IntegrationInfo<dim, spacedim> &info2) const;
101
107
113
119
132 std::vector<std::string> input_vector_names;
133
146 std::vector<std::string> output_names;
147
156 DeclException0(ExcPureFunction);
157 };
158} // namespace MeshWorker
159
160
161
163
164#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:205
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499
#define DeclException0(Exception0)
Definition exceptions.h:466