Reference documentation for deal.II version GIT relicensing-43-g3fc2fae7c3 2024-03-03 21:10:02+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 - 2020 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
54 template <int dim, int spacedim = dim, typename number = double>
56 {
57 public:
63
68
72 virtual ~LocalIntegrator() override = default;
73
78 virtual void
85 virtual void
92 virtual void
97
103
109
115
124 std::vector<std::string> input_vector_names;
125
134 std::vector<std::string> output_names;
135
145 };
146} // namespace MeshWorker
147
148
149
151
152#endif
virtual ~LocalIntegrator() override=default
virtual void cell(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const
std::vector< std::string > output_names
virtual void face(DoFInfo< dim, spacedim, number > &dinfo1, DoFInfo< dim, spacedim, number > &dinfo2, IntegrationInfo< dim, spacedim > &info1, IntegrationInfo< dim, spacedim > &info2) const
virtual void boundary(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const
std::vector< std::string > input_vector_names
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:502
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503
#define DeclException0(Exception0)
Definition exceptions.h:471
static ::ExceptionBase & ExcPureFunction()