Reference documentation for deal.II version 9.0.0
vector_tools_rhs.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 2014 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 at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 
17 #include <deal.II/numerics/vector_tools.templates.h>
18 
19 DEAL_II_NAMESPACE_OPEN
20 
21 
22 namespace VectorTools
23 {
24 
25 // separate implementation for 1D because otherwise we get linker errors since
26 // (hp::)FEFaceValues<1> is not compiled
27  template <>
28  void
30  const DoFHandler<1,1> &,
31  const Quadrature<0> &,
32  const Function<1> &,
34  const std::set<types::boundary_id> &)
35  {
36  Assert (false, ExcImpossibleInDim(1));
37  }
38 
39 
40 
41  template <>
42  void
44  const DoFHandler<1,2> &,
45  const Quadrature<0> &,
46  const Function<2> &,
48  const std::set<types::boundary_id> &)
49  {
50  Assert (false, ExcImpossibleInDim(1));
51  }
52 
53 
54 
55  template <>
56  void
58  const hp::DoFHandler<1,1> &,
59  const hp::QCollection<0> &,
60  const Function<1> &,
62  const std::set<types::boundary_id> &)
63  {
64  Assert (false, ExcImpossibleInDim(1));
65  }
66 
67 
68 
69  template <>
70  void
72  const hp::DoFHandler<1,2> &,
73  const hp::QCollection<0> &,
74  const Function<2> &,
76  const std::set<types::boundary_id> &)
77  {
78  Assert (false, ExcImpossibleInDim(1));
79  }
80 }
81 
82 // ---------------------------- explicit instantiations --------------------
83 #include "vector_tools_rhs.inst"
84 
85 DEAL_II_NAMESPACE_CLOSE
void create_boundary_right_hand_side(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const Quadrature< dim-1 > &q, const Function< spacedim, typename VectorType::value_type > &rhs, VectorType &rhs_vector, const std::set< types::boundary_id > &boundary_ids=std::set< types::boundary_id >())
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define Assert(cond, exc)
Definition: exceptions.h:1142
Abstract base class for mapping classes.
Definition: dof_tools.h:46