Reference documentation for deal.II version Git bcb2fdb641 2020-09-17 14:58:24 -0400
\(\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\}}\)
vector_tools_constraints.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 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_vector_tools_constraints_h
18 #define dealii_vector_tools_constraints_h
19 
20 #include <deal.II/base/config.h>
21 
23 
24 #include <map>
25 #include <set>
26 
28 
29 template <typename number>
30 class AffineConstraints;
31 template <int dim, int spacedim>
32 struct StaticMappingQ1;
33 template <int dim, typename Number>
34 class Function;
35 template <int dim, int spacedim>
36 class Mapping;
37 
38 
39 namespace VectorTools
40 {
45 
273  template <int dim, int spacedim>
274  void
276  const DoFHandler<dim, spacedim> & dof_handler,
277  const unsigned int first_vector_component,
278  const std::set<types::boundary_id> &boundary_ids,
279  const std::map<types::boundary_id, const Function<spacedim, double> *>
280  & function_map,
281  AffineConstraints<double> & constraints,
282  const Mapping<dim, spacedim> &mapping =
284 
297  template <int dim, int spacedim>
298  void
300  const DoFHandler<dim, spacedim> & dof_handler,
301  const unsigned int first_vector_component,
302  const std::set<types::boundary_id> &boundary_ids,
303  AffineConstraints<double> & constraints,
304  const Mapping<dim, spacedim> & mapping =
306 
323  template <int dim, int spacedim>
324  void
326  const DoFHandler<dim, spacedim> & dof_handler,
327  const unsigned int first_vector_component,
328  const std::set<types::boundary_id> &boundary_ids,
329  const std::map<types::boundary_id, const Function<spacedim, double> *>
330  & function_map,
331  AffineConstraints<double> & constraints,
332  const Mapping<dim, spacedim> &mapping =
334 
343  template <int dim, int spacedim>
344  void
346  const DoFHandler<dim, spacedim> & dof_handler,
347  const unsigned int first_vector_component,
348  const std::set<types::boundary_id> &boundary_ids,
349  AffineConstraints<double> & constraints,
350  const Mapping<dim, spacedim> & mapping =
352 
354 } // namespace VectorTools
355 
357 
358 #endif // dealii_vector_tools_constraints_h
void compute_normal_flux_constraints(const DoFHandler< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
void compute_nonzero_normal_flux_constraints(const DoFHandler< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, const std::map< types::boundary_id, const Function< spacedim, double > *> &function_map, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
void compute_no_normal_flux_constraints(const DoFHandler< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
Abstract base class for mapping classes.
Definition: mapping.h:301
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:363
void compute_nonzero_tangential_flux_constraints(const DoFHandler< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, const std::map< types::boundary_id, const Function< spacedim, double > *> &function_map, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:362