Reference documentation for deal.II version Git ede8f93e86 2020-12-03 14:59:20 -0700
\(\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\}}\)
scalar_polynomials_base.cc
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2005 - 2019 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 
19 
20 #include <iomanip>
21 #include <iostream>
22 
24 
25 template <int dim>
27  const unsigned int deg,
28  const unsigned int n_polynomials)
29  : polynomial_degree(deg)
30  , n_pols(n_polynomials)
31 {
32  // nothing to do here for now
33 }
34 
35 
36 
37 template <int dim>
38 std::size_t
40 {
41  Assert(false, ExcNotImplemented());
42  return 0;
43 }
44 
45 
46 
47 template class ScalarPolynomialsBase<0>;
48 template class ScalarPolynomialsBase<1>;
49 template class ScalarPolynomialsBase<2>;
50 template class ScalarPolynomialsBase<3>;
51 
ScalarPolynomialsBase(const unsigned int deg, const unsigned int n_polynomials)
#define Assert(cond, exc)
Definition: exceptions.h:1466
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:372
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:371
virtual std::size_t memory_consumption() const
static ::ExceptionBase & ExcNotImplemented()