Reference documentation for deal.II version 9.6.0
\(\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
vector_tools_point_value.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2020 - 2023 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#ifndef dealii_vector_tools_point_value_h
16#define dealii_vector_tools_point_value_h
17
18
19#include <deal.II/base/config.h>
20
22
23template <int dim, int spacedim>
25class DoFHandler;
26
27template <int dim, typename Number>
28class Function;
29template <int dim, int spacedim>
30class Mapping;
31
32template <int dim, typename Number>
34class Point;
35
36template <typename Number>
37class Vector;
38namespace hp
39{
40 template <int dim, int spacedim>
41 class MappingCollection;
42} // namespace hp
43
44namespace VectorTools
45{
135 template <int dim, int spacedim>
136 void
138 const DoFHandler<dim, spacedim> &dof_handler,
140 Vector<double> &rhs_vector);
141
145 template <int dim, int spacedim>
146 void
149 const DoFHandler<dim, spacedim> &dof_handler,
151 Vector<double> &rhs_vector);
152
161 template <int dim, int spacedim>
162 void
165 Vector<double> &rhs_vector);
166
185 template <int dim, int spacedim>
186 void
188 const DoFHandler<dim, spacedim> &dof_handler,
190 const Point<dim, double> &direction,
191 Vector<double> &rhs_vector);
192
196 template <int dim, int spacedim>
197 void
200 const DoFHandler<dim, spacedim> &dof_handler,
202 const Point<dim, double> &direction,
203 Vector<double> &rhs_vector);
204
213 template <int dim, int spacedim>
214 void
217 const Point<dim, double> &direction,
218 Vector<double> &rhs_vector);
240 template <int dim, typename VectorType, int spacedim>
243 const DoFHandler<dim, spacedim> &dof,
244 const VectorType &fe_function,
245 const Function<spacedim, typename VectorType::value_type> &exact_solution,
246 Vector<typename VectorType::value_type> &difference,
247 const Point<spacedim, double> &point);
248
263 template <int dim, typename VectorType, int spacedim>
264 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
266 const Mapping<dim, spacedim> &mapping,
267 const DoFHandler<dim, spacedim> &dof,
268 const VectorType &fe_function,
269 const Function<spacedim, typename VectorType::value_type> &exact_solution,
270 Vector<typename VectorType::value_type> &difference,
271 const Point<spacedim, double> &point);
272
311 template <int dim, typename VectorType, int spacedim>
312 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
313 void point_value(const DoFHandler<dim, spacedim> &dof,
314 const VectorType &fe_function,
315 const Point<spacedim, double> &point,
316 Vector<typename VectorType::value_type> &value);
317
337 template <int dim, typename VectorType, int spacedim>
338 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
339 void point_value(const DoFHandler<dim, spacedim> &dof,
340 const VectorType &fe_function,
341 const Point<spacedim, double> &point,
342 Vector<typename VectorType::value_type> &value);
343
385 template <int dim, typename VectorType, int spacedim>
386 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
387 typename VectorType::value_type
388 point_value(const DoFHandler<dim, spacedim> &dof,
389 const VectorType &fe_function,
390 const Point<spacedim, double> &point);
391
411 template <int dim, typename VectorType, int spacedim>
412 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
413 typename VectorType::value_type
414 point_value(const DoFHandler<dim, spacedim> &dof,
415 const VectorType &fe_function,
416 const Point<spacedim, double> &point);
417
454 template <int dim, typename VectorType, int spacedim>
455 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
456 void point_value(const Mapping<dim, spacedim> &mapping,
457 const DoFHandler<dim, spacedim> &dof,
458 const VectorType &fe_function,
459 const Point<spacedim, double> &point,
460 Vector<typename VectorType::value_type> &value);
461
481 template <int dim, typename VectorType, int spacedim>
482 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
483 void point_value(const hp::MappingCollection<dim, spacedim> &mapping,
484 const DoFHandler<dim, spacedim> &dof,
485 const VectorType &fe_function,
486 const Point<spacedim, double> &point,
487 Vector<typename VectorType::value_type> &value);
488
524 template <int dim, typename VectorType, int spacedim>
525 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
526 typename VectorType::value_type
527 point_value(const Mapping<dim, spacedim> &mapping,
528 const DoFHandler<dim, spacedim> &dof,
529 const VectorType &fe_function,
530 const Point<spacedim, double> &point);
531
551 template <int dim, typename VectorType, int spacedim>
552 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
553 typename VectorType::value_type
554 point_value(const hp::MappingCollection<dim, spacedim> &mapping,
555 const DoFHandler<dim, spacedim> &dof,
556 const VectorType &fe_function,
557 const Point<spacedim, double> &point);
559} // namespace VectorTools
560
562
563#endif // dealii_vector_tools_point_value_h
Abstract base class for mapping classes.
Definition mapping.h:318
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_CXX20_REQUIRES(condition)
Definition config.h:177
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
void point_difference(const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Function< spacedim, typename VectorType::value_type > &exact_solution, Vector< typename VectorType::value_type > &difference, const Point< spacedim, double > &point)
void create_point_source_vector(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, const Point< spacedim, double > &p, Vector< double > &rhs_vector)
void point_value(const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Point< spacedim, double > &point, Vector< typename VectorType::value_type > &value)
Definition hp.h:117