Reference documentation for deal.II version 9.4.1
\(\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// Copyright (C) 2006 - 2020 by the deal.II authors
4//
5// This file is part of the deal.II library.
6//
7// The deal.II library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.md at
12// the top level directory of deal.II.
13//
14// ---------------------------------------------------------------------
15
16
17#ifndef dealii_mesh_worker_local_integrator_h
18#define dealii_mesh_worker_local_integrator_h
19
20#include <deal.II/base/config.h>
21
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
55 template <int dim, int spacedim = dim, typename number = double>
57 {
58 public:
64
69
73 virtual ~LocalIntegrator() override = default;
74
79 virtual void
86 virtual void
93 virtual void
98
104
110
116
125 std::vector<std::string> input_vector_names;
126
135 std::vector<std::string> output_names;
136
146 };
147} // namespace MeshWorker
148
149
150
152
153#endif
virtual ~LocalIntegrator() override=default
virtual void cell(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const
Definition: mesh_worker.cc:81
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
Definition: mesh_worker.cc:101
virtual void boundary(DoFInfo< dim, spacedim, number > &dinfo, IntegrationInfo< dim, spacedim > &info) const
Definition: mesh_worker.cc:91
std::vector< std::string > input_vector_names
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
#define DeclException0(Exception0)
Definition: exceptions.h:464
static ::ExceptionBase & ExcPureFunction()