Reference documentation for deal.II version Git 180c135554 2021-06-23 17:42:41 -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 - 2021 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 =
283  (ReferenceCells::get_hypercube<dim>()
284  .template get_default_linear_mapping<dim, spacedim>()));
285 
298  template <int dim, int spacedim>
299  void
301  const DoFHandler<dim, spacedim> & dof_handler,
302  const unsigned int first_vector_component,
303  const std::set<types::boundary_id> &boundary_ids,
304  AffineConstraints<double> & constraints,
305  const Mapping<dim, spacedim> & mapping =
306  (ReferenceCells::get_hypercube<dim>()
307  .template get_default_linear_mapping<dim, spacedim>()));
308 
325  template <int dim, int spacedim>
326  void
328  const DoFHandler<dim, spacedim> & dof_handler,
329  const unsigned int first_vector_component,
330  const std::set<types::boundary_id> &boundary_ids,
331  const std::map<types::boundary_id, const Function<spacedim, double> *>
332  & function_map,
333  AffineConstraints<double> & constraints,
334  const Mapping<dim, spacedim> &mapping =
335  (ReferenceCells::get_hypercube<dim>()
336  .template get_default_linear_mapping<dim, spacedim>()));
337 
346  template <int dim, int spacedim>
347  void
349  const DoFHandler<dim, spacedim> & dof_handler,
350  const unsigned int first_vector_component,
351  const std::set<types::boundary_id> &boundary_ids,
352  AffineConstraints<double> & constraints,
353  const Mapping<dim, spacedim> & mapping =
354  (ReferenceCells::get_hypercube<dim>()
355  .template get_default_linear_mapping<dim, spacedim>()));
356 
358 } // namespace VectorTools
359 
361 
362 #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=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
Abstract base class for mapping classes.
Definition: mapping.h:303
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=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:399
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=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:398
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=(ReferenceCells::get_hypercube< dim >() .template get_default_linear_mapping< dim, spacedim >()))